Project

General

Profile

« Previous | Next » 

Revision 9e5bde9c

Added by Andreas Müller almost 2 years ago

cleanup

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/cdmLight/CdmLightClassificationExport.java
339 339
                    csvLine[table.getIndex(CdmLightExportTable.NAME_FK)] = getId(state, name);
340 340
                    Taxon parent = (taxonNode.getParent() == null) ? null : taxonNode.getParent().getTaxon();
341 341
                    csvLine[table.getIndex(CdmLightExportTable.PARENT_FK)] = getId(state, parent);
342

  
343
                    //secundum reference
342 344
                    csvLine[table.getIndex(CdmLightExportTable.SEC_REFERENCE_FK)] = getId(state, taxon.getSec());
343 345
                    if (taxon.getSec() != null && taxon.getSec().getDatePublished() != null
344 346
                            && taxon.getSec().getDatePublished().getFreeText() != null) {
......
1125 1127
            NomenclaturalSource nomenclaturalSource = name.getNomenclaturalSource();
1126 1128
            if (nomenclaturalSource != null &&nomenclaturalSource.getNameUsedInSource() != null){
1127 1129
                handleName(state, nomenclaturalSource.getNameUsedInSource(), null);
1128
                csvLine[table.getIndex(CdmLightExportTable.NAME_USED_IN_SOURCE)] = getId(state, nomenclaturalSource.getNameUsedInSource());
1130
                csvLine[table.getIndex(CdmLightExportTable.NAME_USED_IN_SOURCE_FK)] = getId(state, nomenclaturalSource.getNameUsedInSource());
1129 1131
            }
1130 1132

  
1131 1133
            if (nomRef != null) {
......
1265 1267
            TypeDesignationSetManager manager = new TypeDesignationSetManager(specimenTypeDesignations, name);
1266 1268
            HTMLTagRules rules = new HTMLTagRules();
1267 1269
            rules.addRule(TagEnum.name, "i");
1268
            String test = manager.print(false, false, false, rules);;
1269 1270
            csvLine[table.getIndex(CdmLightExportTable.TYPE_SPECIMEN)] = manager.print(false, false, false, rules);
1270 1271

  
1271 1272
            StringBuilder stringbuilder = new StringBuilder();

Also available in: Unified diff