Project

General

Profile

« Previous | Next » 

Revision 468542ec

Added by Andreas Müller about 3 years ago

cleanup

View differences:

eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/e4/handler/RemotingChangeAcceptedTaxonToSynonymHandlerE4.java
39 39
import eu.etaxonomy.taxeditor.ui.dialog.selection.TaxonNodeSelectionDialog;
40 40

  
41 41
/**
42
 *
43 42
 * @author pplitzner
44 43
 * @since Sep 6, 2017
45
 *
46 44
 */
47 45
public class RemotingChangeAcceptedTaxonToSynonymHandlerE4 extends RemotingCdmHandlerE4 {
48 46

  
49

  
50
    private Set<TaxonNodeDto> oldTaxonNodes = new HashSet();
47
    private Set<TaxonNodeDto> oldTaxonNodes = new HashSet<>();
51 48
    private Classification classification;
52 49
    protected boolean isSetSource = false;
53 50

  
......
75 72
        }
76 73

  
77 74
        // check that selected object is a taxon node
78
        Iterator it = selection.iterator();
75
        Iterator<?> it = selection.iterator();
79 76
        Classification nextClassification;
80 77
        oldTaxonNodes = new HashSet<>();
81 78
        while(it.hasNext()){
......
121 118
            MHandledMenuItem menuItem) {
122 119
        Set<UUID> excludeTaxa = new HashSet<>();
123 120
        Set<UUID> secUuids = new HashSet<>();
124
        Set<UUID> nodeUuids = new HashSet();
121
        Set<UUID> nodeUuids = new HashSet<>();
125 122
        boolean published = true;
126 123

  
127 124
        for (TaxonNodeDto oldNode:oldTaxonNodes){
......
182 179
                }else{
183 180
                    return null;
184 181
                }
185

  
186 182
            }
187 183
        }
188 184

  
189

  
190

  
191 185
        RemotingChangeAcceptedTaxonToSynonymOperation rcattso =
192 186
                new RemotingChangeAcceptedTaxonToSynonymOperation(getTrigger(),
193 187
                        false,
......
212 206
    public void onComplete() {
213 207
    }
214 208

  
215
    /**
216
     * {@inheritDoc}
217
     */
218 209
    @Override
219 210
    protected Object getTrigger() {
220 211
        return this;
221 212
    }
222
}
213
}

Also available in: Unified diff