Project

General

Profile

« Previous | Next » 

Revision e834dd85

Added by Andreas Müller over 6 years ago

cleanup

View differences:

cdmlib-ext/src/main/java/eu/etaxonomy/cdm/ext/geo/EditGeoService.java
360 360
        // moved the load from the filter method to the getDescriptionElementForTaxon()
361 361
        // method.
362 362
        // overall improvement by this means is by 42% (from 77,711 ms to 44,868 ms)
363
        ArrayList<String> initStrategy = new ArrayList<String>(propertyPaths);
363
        ArrayList<String> initStrategy = new ArrayList<>(propertyPaths);
364 364
        if(!initStrategy.contains("status")) {
365 365
            initStrategy.add("status");
366 366
        }
......
371 371
            initStrategy.add("markers.markerType");
372 372
        }
373 373
        if(omitLevels == null) {
374
            omitLevels = new HashSet<NamedAreaLevel>(0);
374
            omitLevels = new HashSet<>(0);
375 375
        }
376 376

  
377 377
        List<Distribution> distributions = dao.getDescriptionElementForTaxon(taxonUUID, null, Distribution.class, null, null, initStrategy);

Also available in: Unified diff