Project

General

Profile

« Previous | Next » 

Revision 0fde7fba

Added by Katja Luther almost 6 years ago

allow multiple selection for moving taxonnodes

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/e4/handler/MoveDescriptionElementsHandlerE4.java
10 10
package eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler;
11 11

  
12 12
import java.util.ArrayList;
13
import java.util.HashSet;
13 14
import java.util.Iterator;
14 15
import java.util.List;
16
import java.util.Set;
15 17
import java.util.UUID;
16 18

  
17 19
import javax.inject.Named;
......
107 109
        }
108 110

  
109 111
        DescriptionBase description = elements.get(0).getInDescription();
110
        List<UUID> excludeTaxa = new ArrayList<UUID>();
112
        Set<UUID> excludeTaxa = new HashSet<>();
111 113
        if (description!=null && description.isInstanceOf(TaxonDescription.class)){
112 114
            TaxonDescription taxonDescription = HibernateProxyHelper.deproxy(description, TaxonDescription.class);
113 115
            actualTaxon = taxonDescription.getTaxon();

Also available in: Unified diff