Revision 038695b2
Added by Andreas Müller about 5 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/name/HomotypicalGroup.java | ||
---|---|---|
226 | 226 |
public Set<TypeDesignationBase<?>> getTypeDesignations(){ |
227 | 227 |
Set<TypeDesignationBase<?>> result = new HashSet<>(); |
228 | 228 |
for (TaxonName taxonName : typifiedNames){ |
229 |
result.addAll(taxonName.getTypeDesignations()); |
|
229 |
result.addAll((Set)taxonName.getTypeDesignations());
|
|
230 | 230 |
} |
231 | 231 |
return result; |
232 | 232 |
} |
Also available in: Unified diff
fix some compilation issues with generics