Project

General

Profile

« Previous | Next » 

Revision ded3de15

Added by Andreas Müller about 7 years ago

ref #6365 use TaxonNameFactory for factory methods in cdmlib-app

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/io/berlinModel/in/BerlinModelOccurrenceImport.java
628 628
		if (oldDescription == null || newTaxonId != oldTaxonId){
629 629
			TaxonBase<?> taxonBase = taxonMap.get(String.valueOf(newTaxonId));
630 630
			//TODO for testing
631
			//TaxonBase taxonBase = Taxon.NewInstance(BotanicalName.NewInstance(Rank.SPECIES()), null);
631
			//TaxonBase taxonBase = Taxon.NewInstance(TaxonNameFactory.NewBotanicalInstance(Rank.SPECIES()), null);
632 632
			Taxon taxon;
633 633
			if ( taxonBase instanceof Taxon ) {
634 634
				taxon = (Taxon) taxonBase;

Also available in: Unified diff