Revision f9656765
Added by Andreas Müller over 8 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/csv/caryophyllales/out/CsvNameExportBase.java | ||
---|---|---|
157 | 157 |
genusNodes = getTaxonNodeService().find(childrenUuids); |
158 | 158 |
} |
159 | 159 |
|
160 |
List<HashMap<String,String>> nameRecords = new ArrayList(); |
|
160 |
List<HashMap<String,String>> nameRecords = new ArrayList<HashMap<String,String>>();
|
|
161 | 161 |
HashMap<String,String> nameRecord = new HashMap<String,String>(); |
162 | 162 |
List<String> propertyPathsFamilyNode = new ArrayList<String>(); |
163 | 163 |
propertyPathsFamilyNode.add("taxon"); |
... | ... | |
189 | 189 |
nameRecord.put("familyName", name.getNameCache()); |
190 | 190 |
|
191 | 191 |
StringBuffer descriptionsString = new StringBuffer(); |
192 |
for (DescriptionBase descriptionBase: taxon.getDescriptions()){ |
|
192 |
for (DescriptionBase<?> descriptionBase: taxon.getDescriptions()){
|
|
193 | 193 |
Set<DescriptionElementBase> elements = descriptionBase.getElements(); |
194 | 194 |
for (DescriptionElementBase element: elements){ |
195 | 195 |
if (element.getFeature().equals(Feature.INTRODUCTION())){ |
... | ... | |
289 | 289 |
for (List<Synonym> list: heterotypicSynonymsList.values()){ |
290 | 290 |
Collections.sort(list, new TaxonComparator()); |
291 | 291 |
first = true; |
292 |
for (TaxonBase synonym : list){ |
|
292 |
for (TaxonBase<?> synonym : list){
|
|
293 | 293 |
if (first){ |
294 | 294 |
heterotypicalSynonyms.append(" <heterotypic> "); |
295 | 295 |
}else{ |
... | ... | |
304 | 304 |
|
305 | 305 |
first = true; |
306 | 306 |
Collections.sort(homotypicSynonymsList, new TaxonComparator()); |
307 |
for (TaxonBase synonym : homotypicSynonymsList){ |
|
307 |
for (TaxonBase<?> synonym : homotypicSynonymsList){
|
|
308 | 308 |
if (!first){ |
309 | 309 |
homotypicalSynonyms.append(" <homonym> "); |
310 | 310 |
} |
... | ... | |
341 | 341 |
nameRecord.put("nameRelType", nameRelType); |
342 | 342 |
|
343 | 343 |
descriptionsString = new StringBuffer(); |
344 |
for (DescriptionBase descriptionBase: genusNode.getTaxon().getDescriptions()){ |
|
344 |
for (DescriptionBase<?> descriptionBase: genusNode.getTaxon().getDescriptions()){
|
|
345 | 345 |
Set<DescriptionElementBase> elements = descriptionBase.getElements(); |
346 | 346 |
for (DescriptionElementBase element: elements){ |
347 | 347 |
if (element.getFeature().getTitleCache().equals("Notes")) { |
Also available in: Unified diff
Minor cleanup