Project

General

Profile

« Previous | Next » 

Revision cedc4ff1

Added by Katja Luther about 6 years ago

ref #2380: implement usage of Dto for taxon navigator

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/AbstractUtility.java
663 663
        Object selectionToSet = selection;
664 664
        if(selection.size() == 1){
665 665
            selectionToSet = selection.getFirstElement();
666
            if (selectionToSet instanceof Object[]){
667
                Object[] selectionArray = (Object[])selectionToSet;
668
                selectionToSet = selectionArray;
669
            }
666 670
        }
667 671
        else if(!selection.isEmpty()){
668 672
            selectionToSet = selection.toArray();

Also available in: Unified diff