Project

General

Profile

« Previous | Next » 

Revision 68362152

Added by Katja Luther over 4 years ago

ref #8677: add distribution aggregation as long running task to editor - continue

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/SuperAreaSelectionWizard.java
49 49
                ArrayList checkedList = new ArrayList(Arrays.asList(checkedElements));
50 50
                ArrayList grayedList = new ArrayList(Arrays.asList(grayedElements));
51 51
                checkedList = (ArrayList) CollectionUtils.subtract(checkedList, grayedList);
52
                ArrayList<TermDto> listUIIDChecked = new ArrayList<TermDto>();
52
                ArrayList<UUID> listUIIDChecked = new ArrayList<>();
53 53
                ArrayList<UUID> listUIIDGrayed = new ArrayList<UUID>();
54 54
                for (Object o : checkedList) {
55 55
                    if (o instanceof TermDto) {
56
                        listUIIDChecked.add((TermDto) o);
56
                        listUIIDChecked.add(((TermDto) o).getUuid());
57 57

  
58 58
                    }else if(o instanceof TermVocabularyDto){
59 59
                        TermVocabularyDto termVocDto = (TermVocabularyDto) o;

Also available in: Unified diff