Project

General

Profile

« Previous | Next » 

Revision c59ecc4a

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-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/out/PesiSourceExport.java
98 98
	 * @see eu.etaxonomy.cdm.io.common.CdmIoBase#doInvoke(eu.etaxonomy.cdm.io.common.IoStateBase)
99 99
	 */
100 100
	@Override
101
	protected boolean doInvoke(PesiExportState state) {
101
	protected void doInvoke(PesiExportState state) {
102 102
		try{
103 103
			logger.error("*** Started Making " + pluralString + " ...");
104 104

  
......
156 156
			
157 157
			logger.error("*** Finished Making " + pluralString + " ..." + getSuccessString(success));
158 158

  
159
			return success;
159
			if (!success){
160
				state.setUnsuccessfull();
161
			}
162
			return;
160 163
		} catch (SQLException e) {
161 164
			e.printStackTrace();
162 165
			logger.error(e.getMessage());
163
			return false;
166
			state.setUnsuccessfull();
167
			return;
164 168
		}
165 169
	}
166 170

  

Also available in: Unified diff