Project

General

Profile

« Previous | Next » 

Revision ab6f97de

Added by Andreas Müller over 4 years ago

cleanup

View differences:

cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/out/PesiTaxonExport.java
75 75
 * The export class for {@link eu.etaxonomy.cdm.model.name.TaxonNameBase TaxonNames}.<p>
76 76
 * Inserts into DataWarehouse database table <code>Taxon</code>.
77 77
 * It is divided into four phases:<p><ul>
78
 * <li>Phase 1:	Export of all {@link eu.etaxonomy.cdm.model.name.TaxonName TaxonNames} except some data exported in the following phases.
78
 * <li>Phase 1:	Export of all taxon and taxon name data
79
 *                     except for some data exported in the following phases.
79 80
 * <li>Phase 2:	Export of additional data: ParentTaxonFk and TreeIndex.
80 81
 * <li>Phase 3:	Export of additional data: Rank data, KingdomFk, TypeNameFk, expertFk and speciesExpertFk.
81 82
 * <li>Phase 4:	Export of Inferred Synonyms.</ul>
......
478 479
		int limit = state.getConfig().getLimitSave();
479 480

  
480 481
		logger.info("PHASE 3: Add Rank data, KingdomFk, TypeNameFk, expertFk and speciesExpertFk...");
481
		// Be sure to add rank information, KingdomFk, TypeNameFk, expertFk and speciesExpertFk to every taxonName
482 482

  
483 483
		// Start transaction
484 484
		TransactionStatus txStatus = startTransaction(true);
......
2148 2148
	 * @return The <code>ExpertName</code> attribute.
2149 2149
	 * @see MethodMapper
2150 2150
	 */
2151
	@SuppressWarnings("unused")  //for some reason it is also called by getCacheCitation
2151
	//@SuppressWarnings("unused")  //for some reason it is also called by getCacheCitation
2152 2152
	private static String getExpertName(TaxonBase<?> taxon) {
2153 2153
		try {
2154 2154
		    String result = null;

Also available in: Unified diff