Project

General

Profile

Revision 90f19d04

ID90f19d048219d645206b280c2bdfe6f1a62b5c06
Parent ec8f5e38
Child 1e444ccf

Added by Andreas Kohlbecker over 3 years ago

code cleanig

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/name/TypeDesignationSetManager.java
169 169
            if(!byBaseEntityByTypeStatus.containsKey(baseEntityReference)){
170 170
                byBaseEntityByTypeStatus.put(baseEntityReference, new TypeDesignationWorkingSet(baseEntity, baseEntityReference));
171 171
            }
172

  
173
            TypeDesignationWorkingSet typedesignationWorkingSet = byBaseEntityByTypeStatus.get(baseEntityReference);
174
            typedesignationWorkingSet.insert(status, typeDesignationEntityReference);
172
            byBaseEntityByTypeStatus.get(baseEntityReference).insert(status, typeDesignationEntityReference);
175 173

  
176 174
        } catch (DataIntegrityException e){
177 175
            problems.add(e.getMessage());

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)