Project

General

Profile

Revision 2c84f57a

ID2c84f57a9df5ca1b1b16ec8773eb62145ce57bab
Parent f3e2aa7a
Child 8e12467b

Added by Andreas Kohlbecker over 1 year ago

ref #7357 removing workaround for incomplete DerivedUnit.cone() in DerivedUnitConverter

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/utility/DerivedUnitConverter.java
163 163
        newSpecimenTypeDesignation = (SpecimenTypeDesignation) specimenTypeDesignation.clone();
164 164
        for(Registration reg : specimenTypeDesignation.getRegistrations()){
165 165
            reg.removeTypeDesignation(specimenTypeDesignation);
166
            reg.addTypeDesignation(newSpecimenTypeDesignation);
167 166
        }
168 167
        for(TaxonName name : specimenTypeDesignation.getTypifiedNames()){
169
            name.addTypeDesignation(newSpecimenTypeDesignation, false);
170 168
            name.removeTypeDesignation(specimenTypeDesignation);
171 169
        }
172 170
        n.addSpecimenTypeDesignation(newSpecimenTypeDesignation);

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)