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/PesiRelTaxonExport.java
87 87
	 * @see eu.etaxonomy.cdm.io.common.CdmIoBase#doInvoke(eu.etaxonomy.cdm.io.common.IoStateBase)
88 88
	 */
89 89
	@Override
90
	protected boolean doInvoke(PesiExportState state) {
90
	protected void doInvoke(PesiExportState state) {
91 91
		try {
92 92
			logger.error("*** Started Making " + pluralString + " ...");
93 93
	
......
169 169

  
170 170
			logger.error("*** Finished Making " + pluralString + " ..." + getSuccessString(success));
171 171

  
172

  
173
			return success;
172
			if (!success){
173
				state.setUnsuccessfull();
174
			}
175
			return;
174 176
		} catch (SQLException e) {
175 177
			e.printStackTrace();
176 178
			logger.error(e.getMessage());
177
			return false;
179
			state.setUnsuccessfull();
180
			return;
178 181
		}
179 182
	}
180 183

  

Also available in: Unified diff