Project

General

Profile

« Previous | Next » 

Revision 96c10a88

Added by Andreas Müller over 7 years ago

fix #5957 fix IndexOutOfBound exception and some other improvements for groupByHigherTaxon

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/ClassificationServiceImpl.java
625 625
        //get treeindex for each taxonUUID
626 626
        Map<UUID, String> taxonIdTreeIndexMap = dao.treeIndexForTaxonUuids(classificationUuid, originalTaxonUuids);
627 627

  
628
        //build treeindex tree or list
628
        //build treeindex list (or tree)
629 629
        List<String> treeIndexClosure = new ArrayList<>();
630 630
        for (String treeIndex : taxonIdTreeIndexMap.values()){
631 631
            String[] splits = treeIndex.substring(1).split(ITreeNode.separator);

Also available in: Unified diff