Project

General

Profile

« Previous | Next » 

Revision 51171c9d

Added by Andreas Müller over 12 years ago

last updates for Taxon Excel Import and moving all success variables to state

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/berlinModel/out/BerlinModelClassificationExport.java
81 81
		return mapping;
82 82
	}
83 83
	
84
	protected boolean doInvoke(BerlinModelExportState state){
84
	protected void doInvoke(BerlinModelExportState state){
85 85
		if (state.getConfig().isUseClassification() == false){
86
			return true;
86
			return;
87 87
		}
88 88
		
89 89
		try{
......
111 111
			}
112 112
			commitTransaction(txStatus);
113 113
			logger.info("end make " + pluralString + " ..." + getSuccessString(success));
114
			return success;
114
			if (!success){
115
				state.setUnsuccessfull();
116
			}
117
			return;
115 118
		}catch(SQLException e){
116 119
			e.printStackTrace();
117 120
			logger.error(e.getMessage());
118
			return false;
121
			state.setUnsuccessfull();
122
			return;
119 123
		}
120 124
	}
121 125

  

Also available in: Unified diff