Revision 8141f117
Added by Andreas Müller almost 8 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/DescriptionHelper.java | ||
---|---|---|
288 | 288 |
} |
289 | 289 |
} |
290 | 290 |
if (StringUtils.isBlank(typeLabel)){ |
291 |
typeLabel = status.getTitleCache(); |
|
292 | 291 |
typeLabel = "->"; |
293 | 292 |
} |
294 | 293 |
String fromString = ""; |
... | ... | |
355 | 354 |
} |
356 | 355 |
} |
357 | 356 |
if (StringUtils.isBlank(typeLabel)){ |
358 |
typeLabel = type.getTitleCache(); |
|
359 | 357 |
typeLabel = "->"; |
360 | 358 |
} |
361 | 359 |
String result = CdmUtils.concat(" ", new String[]{from == null ? null : from.getTitleCache(), |
Also available in: Unified diff
Fix NPE in DescriptionHelper #5835