Revision 52a59b6e
Added by Andreas Müller almost 7 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/util/converter/TypeDesignationConverter.java | ||
---|---|---|
48 | 48 |
private String typifiedNameCache = null; |
49 | 49 |
|
50 | 50 |
/** |
51 |
* @param taxonNameBase
|
|
51 |
* @param taxonName |
|
52 | 52 |
* |
53 | 53 |
*/ |
54 |
public TypeDesignationConverter(Collection<TypeDesignationBase> typeDesignations, TaxonName taxonNameBase) {
|
|
54 |
public TypeDesignationConverter(Collection<TypeDesignationBase> typeDesignations, TaxonName taxonName) { |
|
55 | 55 |
this.typeDesignations = typeDesignations; |
56 | 56 |
orderedStrings = new HashMap<>(typeDesignations.size()); |
57 |
if(taxonNameBase != null){
|
|
58 |
this.typifiedNameCache = taxonNameBase.getTitleCache();
|
|
57 |
if(taxonName != null){ |
|
58 |
this.typifiedNameCache = taxonName.getTitleCache(); |
|
59 | 59 |
} |
60 | 60 |
} |
61 | 61 |
|
Also available in: Unified diff
adapt vaadin to model changes 4.7