Project

General

Profile

« Previous | Next » 

Revision 51171c9d

Added by Andreas Müller almost 13 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/BerlinModelTaxonNameExport.java
152 152
		return mapping;
153 153
	}
154 154
	
155
	protected boolean doInvoke(BerlinModelExportState state){
155
	protected void doInvoke(BerlinModelExportState state){
156 156
		try{
157 157
			logger.info("start make "+pluralString+" ...");
158 158
			boolean success = true ;
......
174 174
			commitTransaction(txStatus);
175 175
			logger.info("end make " + pluralString+ " ..." + getSuccessString(success));
176 176
			
177
			return success;
177
			if (!success){
178
				state.setUnsuccessfull();
179
			}
180
			return;
178 181
		}catch(SQLException e){
179 182
			e.printStackTrace();
180 183
			logger.error(e.getMessage());
181
			return false;
184
			state.setUnsuccessfull();
185
			return;
182 186
		}
183 187
	}
184 188

  

Also available in: Unified diff