* The contents of this file are subject to the Mozilla Public License Version 1.1
* See LICENSE.TXT at the top of this package for the full license terms.
*/
-
package eu.etaxonomy.taxeditor.editor;
import java.util.ArrayList;
*
* @author n.hoffmann
* @created 19.03.2009
- * @version 1.0
*/
public class ChooseFromMultipleTaxonNodesDialog extends ListDialog {
public Object[] getElements(Object inputElement) {
Set<TaxonNode> taxonNodes = (Set<TaxonNode>) inputElement;
- List<Classification> classifications = new ArrayList<Classification>();
+ List<Classification> classifications = new ArrayList<>();
for(TaxonNode node : taxonNodes){
classifications.add(node.getClassification());
}
}
-}
+}
\ No newline at end of file