Project

General

Profile

« Previous | Next » 

Revision c59ecc4a

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-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/out/PesiOccurrenceExport.java
83 83
	 * @see eu.etaxonomy.cdm.io.common.CdmIoBase#doInvoke(eu.etaxonomy.cdm.io.common.IoStateBase)
84 84
	 */
85 85
	@Override
86
	protected boolean doInvoke(PesiExportState state) {
86
	protected void doInvoke(PesiExportState state) {
87 87
		try {
88 88
			logger.error("*** Started Making " + pluralString + " ...");
89 89
	
......
184 184

  
185 185
			logger.error("*** Finished Making " + pluralString + " ..." + getSuccessString(success));
186 186
			
187
			return success;
187
			if (!success){
188
				state.setUnsuccessfull();
189
			}
190
			return;
188 191
		} catch (SQLException e) {
189 192
			e.printStackTrace();
190 193
			logger.error(e.getMessage());
191
			return false;
194
			state.setUnsuccessfull();
195
			return;
192 196
		}
193 197
	}
194 198

  

Also available in: Unified diff