Revision e7e33306
Added by Andreas Müller almost 4 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/DescriptionHelper.java | ||
---|---|---|
404 | 404 |
private static String getCache(TypeDesignationBase<?> designation) { |
405 | 405 |
designation = CdmBase.deproxy(designation); |
406 | 406 |
//from |
407 |
String fromString = "";
|
|
407 |
String fromString = null;
|
|
408 | 408 |
Set<TaxonName> from = designation.getTypifiedNames(); |
409 | 409 |
if(from != null){ |
410 | 410 |
for (TaxonName name : from){ |
... | ... | |
446 | 446 |
typeLabel = "->"; |
447 | 447 |
} |
448 | 448 |
//concat |
449 |
String result = CdmUtils.concat(" ", new String[]{from == null ? null : fromString, |
|
450 |
typeLabel, toStr}); |
|
449 |
String result = CdmUtils.concat(" ", new String[]{fromString, typeLabel, toStr}); |
|
451 | 450 |
return result; |
452 | 451 |
} |
453 | 452 |
|
Also available in: Unified diff
fix #9045 fix missing from part type designations (cont.)