Project

General

Profile

« Previous | Next » 

Revision d7919b1c

Added by Andreas Müller about 7 years ago

ref #6362, ref #6365 remove occurrence of NonViralName, BotanicalName, ZoologicalName and others

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/hibernate/taxon/TaxonDaoHibernateImpl.java
1300 1300

  
1301 1301
        Query query=getSession().createQuery("select tmb2 from ZoologicalName tmb, ZoologicalName tmb2 fetch all properties where tmb.id != tmb2.id and tmb.nameCache = tmb2.nameCache");
1302 1302

  
1303
        @SuppressWarnings("unchecked")
1303 1304
        List<TaxonNameBase> zooNames = query.list();
1304 1305

  
1305 1306
        TaxonNameComparator taxComp = new TaxonNameComparator();
1306 1307
        Collections.sort(zooNames, taxComp);
1307 1308

  
1308
        for (TaxonNameBase taxonNameBase: zooNames){
1309
        for (TaxonNameBase<?,?> taxonNameBase: zooNames){
1309 1310
            defaultBeanInitializer.initialize(taxonNameBase, propertyPaths);
1310 1311
        }
1311 1312

  

Also available in: Unified diff