Revision d5d79aea
Added by Andreas Müller about 8 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/name/TaxonNameBase.java | ||
---|---|---|
702 | 702 |
Set<TaxonNameBase> result = new HashSet<TaxonNameBase>(); |
703 | 703 |
Set<NameRelationship> rels = this.getRelationsToThisName(); |
704 | 704 |
for (NameRelationship rel : rels){ |
705 |
if (rel.getType().isBasionymRelation()){ |
|
706 |
TaxonNameBase basionym = rel.getFromName(); |
|
705 |
if (rel.getType()!= null && rel.getType().isBasionymRelation()){
|
|
706 |
TaxonNameBase<?,?> basionym = rel.getFromName();
|
|
707 | 707 |
result.add(basionym); |
708 | 708 |
} |
709 | 709 |
} |
Also available in: Unified diff
Improve sort order within a homotypic group (new Comparator) #3338