Project

General

Profile

« Previous | Next » 

Revision 5eb888b1

Added by Patrick Plitzner over 7 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