Revision 2b50eebb
Added by Andreas Müller about 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/SampleDesignationHistoryDetailSection.java | ||
---|---|---|
45 | 45 |
*/ |
46 | 46 |
@Override |
47 | 47 |
public Collection<Identifier> getCollection(IdentifiableEntity<?> entity) { |
48 |
LinkedList<Identifier> sampleDesignations = new LinkedList<Identifier>();
|
|
48 |
LinkedList<Identifier> sampleDesignations = new LinkedList<>(); |
|
49 | 49 |
for (Identifier identifier : entity.getIdentifiers()) { |
50 | 50 |
if(identifier.getType()!=null && identifier.getType().equals(DerivateLabelProvider.getSampleDesignationTerm())){ |
51 | 51 |
sampleDesignations.add(identifier); |
Also available in: Unified diff
cleanup