Revision 51171c9d
Added by Andreas Müller about 13 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/tcsrdf/TcsRdfTaxonImport.java | ||
---|---|---|
93 | 93 |
|
94 | 94 |
|
95 | 95 |
@Override |
96 |
protected boolean doInvoke(TcsRdfImportState state){
|
|
96 |
protected void doInvoke(TcsRdfImportState state){
|
|
97 | 97 |
|
98 | 98 |
MapWrapper<TaxonBase> taxonMap = (MapWrapper<TaxonBase>)state.getStore(ICdmIO.TAXON_STORE); |
99 | 99 |
MapWrapper<TaxonNameBase> taxonNameMap = (MapWrapper<TaxonNameBase>)state.getStore(ICdmIO.TAXONNAME_STORE); |
... | ... | |
109 | 109 |
|
110 | 110 |
TcsRdfImportConfigurator config = state.getConfig(); |
111 | 111 |
Element root = config.getSourceRoot(); |
112 |
boolean success =true; |
|
113 | 112 |
|
114 | 113 |
Namespace rdfNamespace = config.getRdfNamespace(); |
115 | 114 |
|
... | ... | |
203 | 202 |
logger.info("saving " + taxonMap.size()+ " taxa ..."); |
204 | 203 |
taxonService.save(taxonMap.objects()); |
205 | 204 |
logger.info("end makeTaxa ..."); |
206 |
return success;
|
|
205 |
return; |
|
207 | 206 |
} |
208 | 207 |
|
209 | 208 |
|
Also available in: Unified diff
last updates for Taxon Excel Import and moving all success variables to state