Project

General

Profile

« Previous | Next » 

Revision 23a13680

Added by Andreas Müller over 2 years ago

cleanup

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/wizard/AvailableDistributionWizard.java
44 44
        if (!checkNoneChecked()) {
45 45
            Object[] checkedElements = aPage.getViewer().getCheckedElements();
46 46
            Object[] grayedElements = aPage.getViewer().getGrayedElements();
47
            ArrayList checkedList = new ArrayList(Arrays.asList(checkedElements));
48
            ArrayList grayedList = new ArrayList(Arrays.asList(grayedElements));
47
            ArrayList<Object> checkedList = new ArrayList<>(Arrays.asList(checkedElements));
48
            ArrayList<Object> grayedList = new ArrayList<>(Arrays.asList(grayedElements));
49 49
            checkedList = (ArrayList) CollectionUtils.subtract(checkedList, grayedList);
50
            ArrayList<UUID> listUIIDChecked = new ArrayList<UUID>();
51
            ArrayList<UUID> listUIIDGrayed = new ArrayList<UUID>();
50
            ArrayList<UUID> listUIIDChecked = new ArrayList<>();
51
            ArrayList<UUID> listUIIDGrayed = new ArrayList<>();
52 52
            for (Object o : checkedList) {
53 53
                if (o instanceof TermDto) {
54 54
                    listUIIDChecked.add(((TermDto) o).getUuid());

Also available in: Unified diff