Project

General

Profile

« Previous | Next » 

Revision 3b52542d

Added by Andreas Müller over 2 years ago

ref #694 adapt appimport to new DescriptionElementService

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/io/salvador/SalvadorSpecimenImport.java
155 155
        Map<String, String> record = state.getCurrentRecord();
156 156
        UUID factUuid = UUID.fromString(record.get("specimenFactUuid"));
157 157

  
158
        TextData textSpecimen = (TextData)getDescriptionService().getDescriptionElementByUuid(factUuid);
158
        TextData textSpecimen = (TextData)getDescriptionElementService().find(factUuid);
159 159
        textSpecimen.setFeature(getTexSpecimenFeature());
160 160

  
161 161
        FieldUnit fieldUnit = FieldUnit.NewInstance();

Also available in: Unified diff