Project

General

Profile

« Previous | Next » 

Revision 48c8ef25

Added by Andreas Müller almost 2 years ago

minor

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/name/TypeDesignationSet.java
39 39

  
40 40
    public static final NullTypeDesignationStatus NULL_STATUS = NullTypeDesignationStatus.SINGLETON();
41 41

  
42
    //TODO needed?
42 43
    private String label = null;
43 44

  
44 45
    private VersionableEntity baseEntity;
......
153 154
        if(label != null){
154 155
            return label;
155 156
        } else {
156
            return super.toString();
157
            return designationByStatusMap.toString();
157 158
        }
158 159
    }
159 160
}
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/name/TypeDesignationSetFormatter.java
70 70
        if(baseEntity instanceof IdentifiableEntity<?>){
71 71
            label = ((IdentifiableEntity<?>)baseEntity).getTitleCache();
72 72
        }
73
        //TODO
73
        //TODO first check if it will not break code
74 74
//        else {
75 75
//            label = baseEntity.toString();
76 76
//        }

Also available in: Unified diff