minor
authorAndreas Müller <a.mueller@bgbm.org>
Tue, 11 Dec 2012 10:08:09 +0000 (10:08 +0000)
committerAndreas Müller <a.mueller@bgbm.org>
Tue, 11 Dec 2012 10:08:09 +0000 (10:08 +0000)
app-import/src/main/java/eu/etaxonomy/cdm/io/algaterra/AlgaTerraTypeImport.java

index a518e322aedf09f394d0db9997d3c6bd226a823c..bc3ed1bd768dd5ce7740467a43685e4afcf02c25 100644 (file)
@@ -117,7 +117,7 @@ public class AlgaTerraTypeImport  extends AlgaTerraSpecimenImportBase {
                Set<TaxonNameBase> namesToSave = new HashSet<TaxonNameBase>();\r
                \r
                Map<String, TaxonNameBase> taxonNameMap = (Map<String, TaxonNameBase>) partitioner.getObjectMap(BerlinModelTaxonNameImport.NAMESPACE);\r
-               Map<String, DerivedUnit> ecoFactMap = (Map<String, DerivedUnit>) partitioner.getObjectMap(AlgaTerraSpecimenImport.ECO_FACT_FIELD_OBSERVATION_NAMESPACE);\r
+               Map<String, DerivedUnit> ecoFactMap = (Map<String, DerivedUnit>) partitioner.getObjectMap(AlgaTerraEcoFactImport.ECO_FACT_FIELD_OBSERVATION_NAMESPACE);\r
                Map<String, DerivedUnit> typeSpecimenMap = (Map<String, DerivedUnit>) partitioner.getObjectMap(TYPE_SPECIMEN_FIELD_OBSERVATION_NAMESPACE);\r
                Map<String, Reference> biblioReference = (Map<String, Reference>) partitioner.getObjectMap(BerlinModelReferenceImport.BIBLIO_REFERENCE_NAMESPACE);\r
                \r
@@ -156,8 +156,6 @@ public class AlgaTerraTypeImport  extends AlgaTerraSpecimenImportBase {
                                        \r
                                        handleTypeSpecimenSpecificSpecimen(rs,facade, state);\r
                                        \r
-                                       state.setCurrentFieldObservationNotNew(false);\r
-                                       \r
                                        //Designation\r
                                        TaxonNameBase<?,?> name = getTaxonName(state, taxonNameMap, nameId);\r
                                        SpecimenTypeDesignation designation = SpecimenTypeDesignation.NewInstance();\r