Project

General

Profile

« Previous | Next » 

Revision fc53d911

Added by Andreas Müller over 7 years ago

cleanup

View differences:

eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/handler/MoveTaxonHandler.java
48 48

  
49 49
	private TaxonNode parentTaxonNode;
50 50
	protected IWorkbenchPage activePage;
51
	/* (non-Javadoc)
52
	 * @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent)
53
	 */
51

  
54 52
	/** {@inheritDoc} */
55 53
	@Override
56 54
    public Object execute(ExecutionEvent event) throws ExecutionException {
......
59 57

  
60 58
		TreeSelection selection = (TreeSelection) HandlerUtil.getCurrentSelection(event);
61 59

  
62
		Iterator selectionIterator = selection.iterator();
60
		Iterator<?> selectionIterator = selection.iterator();
63 61
		Set<TaxonNode> taxonNodes = new HashSet<TaxonNode>();
64 62
		TaxonNode taxonNode= null;
65 63
		Set<UUID> taxonNodeUUIDs = new HashSet<UUID>();
......
104 102
				}
105 103

  
106 104

  
107
				AbstractPostOperation operation = new MoveTaxonOperation
105
				AbstractPostOperation<?> operation = new MoveTaxonOperation
108 106
						("Move taxon to new parent", NavigationUtil.getUndoContext(),
109 107
								taxonNodeUUIDs, parentTaxonNode, taxonNavigator, taxonNavigator, moveToNewParent); //$NON-NLS-1$
110 108
				NavigationUtil.executeOperation(operation);
......
131 129
		return false;
132 130
	}
133 131

  
134

  
135

  
136 132
}

Also available in: Unified diff