Project

General

Profile

Revision 5eb888b1

ID5eb888b16f9f8406158ee18a5e1f8835239c4a79
Parent a3140a55
Child a299ffc0

Added by Patrick Plitzner almost 4 years ago

ref #5448 Remove unnecessary saving

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/io/redlist/gefaesspflanzen/RedListGefaesspflanzenImportClassification.java
277 277

  
278 278
            taxon.setSec(classification.getReference());
279 279
            classification.addChildTaxon(taxon, null, null);
280
            //TODO is saving and setting the title cache to null neccessary?
281
            getTaxonService().saveOrUpdate(taxon);
282
            getTaxonService().saveOrUpdate(gesamtListeTaxon);
283
            if(checklisteTaxon!=null){
284
                getTaxonService().saveOrUpdate(checklisteTaxon);
285
            }
286 280
            taxon.setTitleCache(null);//Reset title cache to see sec ref in title
287 281
        }
288 282
    }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)