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/PesiNoteSourceExport.java
67 67
	 * @see eu.etaxonomy.cdm.io.common.CdmIoBase#doInvoke(eu.etaxonomy.cdm.io.common.IoStateBase)
68 68
	 */
69 69
	@Override
70
	protected boolean doInvoke(PesiExportState state) {
70
	protected void doInvoke(PesiExportState state) {
71 71
		try {
72 72
			logger.error("*** Started Making " + pluralString + " ...");
73 73
	
......
132 132
	
133 133
			logger.error("*** Finished Making " + pluralString + " ..." + getSuccessString(success));
134 134
			
135
			return success;
135
			if (!success){
136
				state.setUnsuccessfull();
137
			}
138
			return;
136 139
		} catch (SQLException e) {
137 140
			e.printStackTrace();
138 141
			logger.error(e.getMessage());
139
			return false;
142
			state.setUnsuccessfull();
143
			return;
140 144
		}
141 145
	}
142 146

  

Also available in: Unified diff