Revision ce952255
Added by Andreas Müller almost 8 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/ProtologueSection.java | ||
---|---|---|
33 | 33 |
* |
34 | 34 |
* @author n.hoffmann |
35 | 35 |
* @created Nov 5, 2009 |
36 |
* @version 1.0 |
|
37 | 36 |
*/ |
38 | 37 |
public class ProtologueSection extends AbstractEntityCollectionSection<TaxonNameBase, DescriptionElementBase> implements ITaxonBaseDetailSection{ |
39 | 38 |
|
... | ... | |
130 | 129 |
if (name == null){ |
131 | 130 |
return result; |
132 | 131 |
} |
133 |
// if(name.getDescriptions().size() == 0){ |
|
134 |
// name.addDescription(TaxonNameDescription.NewInstance(name)); |
|
135 |
// } |
|
136 | 132 |
for (TaxonNameDescription desc : name.getDescriptions()){ |
137 | 133 |
result.add(desc); |
138 | 134 |
} |
139 | 135 |
return result; |
140 | 136 |
} |
141 | 137 |
|
142 |
/* (non-Javadoc) |
|
143 |
* @see eu.etaxonomy.taxeditor.section.ITaxonDetailSection#getTaxon(eu.etaxonomy.cdm.model.taxon.TaxonBase) |
|
144 |
*/ |
|
145 | 138 |
@Override |
146 | 139 |
public TaxonBase getTaxonBase() { |
147 | 140 |
return taxonBase; |
Also available in: Unified diff
Cleaning up ProtologueSection #5638