Revision 70d9ab6a
Added by Katja Luther over 9 years ago
cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/out/PesiTaxonExport.java | ||
---|---|---|
35 | 35 |
|
36 | 36 |
import eu.etaxonomy.cdm.api.service.TaxonServiceImpl; |
37 | 37 |
import eu.etaxonomy.cdm.common.CdmUtils; |
38 |
import eu.etaxonomy.cdm.common.profiler.ProfilerController; |
|
38 | 39 |
import eu.etaxonomy.cdm.io.berlinModel.BerlinModelTransformer; |
39 | 40 |
import eu.etaxonomy.cdm.io.common.Source; |
40 | 41 |
import eu.etaxonomy.cdm.io.common.mapping.UndefinedTransformerMethodException; |
... | ... | |
80 | 81 |
import eu.etaxonomy.cdm.model.taxon.TaxonBase; |
81 | 82 |
import eu.etaxonomy.cdm.model.taxon.TaxonNode; |
82 | 83 |
import eu.etaxonomy.cdm.model.taxon.TaxonRelationship; |
83 |
import eu.etaxonomy.cdm.profiler.ProfilerController; |
|
84 | 84 |
import eu.etaxonomy.cdm.strategy.cache.HTMLTagRules; |
85 | 85 |
import eu.etaxonomy.cdm.strategy.cache.TagEnum; |
86 | 86 |
import eu.etaxonomy.cdm.strategy.cache.name.BacterialNameDefaultCacheStrategy; |
... | ... | |
753 | 753 |
} |
754 | 754 |
return kingdomID; |
755 | 755 |
} else { |
756 |
logger.error("The taxon has no nodes: " + taxon.getTitleCache() + " the kingdom is taken from the nomenclatural code: " + PesiTransformer.nomenClaturalCode2Kingdom(nomenclaturalCode));
|
|
756 |
logger.debug("The taxon has no nodes: " + taxon.getTitleCache() + " the kingdom is taken from the nomenclatural code: " + PesiTransformer.nomenClaturalCode2Kingdom(nomenclaturalCode));
|
|
757 | 757 |
return PesiTransformer.nomenClaturalCode2Kingdom(nomenclaturalCode); |
758 | 758 |
}} else{ |
759 | 759 |
return PesiTransformer.nomenClaturalCode2Kingdom(nomenclaturalCode); |
... | ... | |
844 | 844 |
|
845 | 845 |
// Increment pageNumber |
846 | 846 |
pageNumber++; |
847 |
inferredSynonymsDataToBeSaved = null; |
|
847 | 848 |
} |
848 | 849 |
if (taxonList.size() == 0) { |
849 | 850 |
logger.info("No " + parentPluralString + " left to fetch."); |
... | ... | |
1042 | 1043 |
if (list == null) { |
1043 | 1044 |
logger.info("No " + pluralString + " left to fetch."); |
1044 | 1045 |
} |
1046 |
list = null; |
|
1045 | 1047 |
// Commit transaction |
1046 | 1048 |
commitTransaction(txStatus); |
1047 | 1049 |
logger.debug("Committed transaction."); |
Also available in: Unified diff