Use of the new DescriptionBase attribute 'descriptiveSystem'
[cdmlib.git] / cdmlib-io / src / main / java / eu / etaxonomy / cdm / io / abcd206 / AbcdIO.java
index 42bfe380f2a78117dd561e3ba8f0ee67d2cf0133..c8d47af5ce4ee71e43de6a0c26b01be382c90b72 100644 (file)
@@ -952,21 +952,21 @@ public class AbcdIO extends SpecimenIoBase implements ICdmIO<IImportConfigurator
                boolean problem=false;
 
                if (this.nomenclatureCode.toString().equals("Zoological")){
-                       taxonName = (ZoologicalName)nvnpi.parseFullName(scientificName,NomenclaturalCode.ICZN(),null);
+                       taxonName = (ZoologicalName)nvnpi.parseFullName(scientificName,NomenclaturalCode.ICZN,null);
                        if (taxonName.hasProblem())
                                problem=true;
                }
                if (this.nomenclatureCode.toString().equals("Botanical")){
-                       taxonName  = (BotanicalName)nvnpi.parseFullName(scientificName,NomenclaturalCode.ICBN(),null);
+                       taxonName  = (BotanicalName)nvnpi.parseFullName(scientificName,NomenclaturalCode.ICBN,null);
                        if (taxonName.hasProblem())
                                problem=true;;}
                if (this.nomenclatureCode.toString().equals("Bacterial")){
-                       taxonName = (BacterialName)nvnpi.parseFullName(scientificName,NomenclaturalCode.ICNB(), null);
+                       taxonName = (BacterialName)nvnpi.parseFullName(scientificName,NomenclaturalCode.ICNB, null);
                        if (taxonName.hasProblem())
                                problem=true;
                }
                if (this.nomenclatureCode.toString().equals("Cultivar")){
-                       taxonName = (CultivarPlantName)nvnpi.parseFullName(scientificName,NomenclaturalCode.ICNCP(), null);
+                       taxonName = (CultivarPlantName)nvnpi.parseFullName(scientificName,NomenclaturalCode.ICNCP, null);
                        if (taxonName.hasProblem())
                                problem=true;;
                }