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/in/BerlinModelTaxonRelationImport.java
80 80
	 * @return
81 81
	 * @throws SQLException
82 82
	 */
83
	private boolean makeClassifications(BerlinModelImportState state) throws SQLException{
83
	private void makeClassifications(BerlinModelImportState state) throws SQLException{
84 84
		logger.info("start make classification ...");
85 85
		Source source = state.getConfig().getSource();
86 86

  
......
136 136
		}
137 137
		logger.info("end make classification ...");
138 138

  
139
		return true;
139
		return;
140 140
	}
141 141

  
142 142
	/**
......
316 316
	 * @see eu.etaxonomy.cdm.io.common.CdmIoBase#doInvoke(eu.etaxonomy.cdm.io.common.IImportConfigurator, eu.etaxonomy.cdm.api.application.CdmApplicationController, java.util.Map)
317 317
	 */
318 318
	@Override
319
	protected boolean doInvoke(BerlinModelImportState state){				
319
	protected void doInvoke(BerlinModelImportState state){				
320 320
		try {
321
			boolean success = true;
322
			success &= makeClassifications(state);
323
			success &= super.doInvoke(state);
324
			return success;
321
			makeClassifications(state);
322
			super.doInvoke(state);
323
			return;
325 324
		} catch (SQLException e) {
326 325
			throw new RuntimeException(e);
327 326
		}

Also available in: Unified diff