Revision 2837fda6
Added by Andreas Müller over 6 years ago
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/OccurrenceServiceImpl.java | ||
---|---|---|
528 | 528 |
|
529 | 529 |
//specimen identifier |
530 | 530 |
FormatKey collectionKey = FormatKey.COLLECTION_CODE; |
531 |
String specimenIdentifier = CdmFormatterFactory.format(derivedUnit, new FormatKey[] { FormatKey.COLLECTION_CODE });
|
|
531 |
String specimenIdentifier = CdmFormatterFactory.format(derivedUnit, collectionKey);
|
|
532 | 532 |
if (CdmUtils.isBlank(specimenIdentifier)) { |
533 | 533 |
collectionKey = FormatKey.COLLECTION_NAME; |
534 | 534 |
} |
Also available in: Unified diff
cleanup