From 84561e1b3c0c37782715313673bd18e570cc6a56 Mon Sep 17 00:00:00 2001
From: Patric Plitzner
Date: Wed, 23 Oct 2013 09:00:59 +0000
Subject: [PATCH] - DefinedTerm is ordered as in enum (#3752)
---
.../entitycreator/OccurrenceCreator.java | 42 +++++++++----------
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/entitycreator/OccurrenceCreator.java b/eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/entitycreator/OccurrenceCreator.java
index db3d60f77..372bdfcd0 100644
--- a/eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/entitycreator/OccurrenceCreator.java
+++ b/eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/entitycreator/OccurrenceCreator.java
@@ -1,17 +1,15 @@
// $Id$
/**
* Copyright (C) 2007 EDIT
- * European Distributed Institute of Taxonomy
+ * European Distributed Institute of Taxonomy
* http://www.e-taxonomy.eu
- *
+ *
* 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.bulkeditor.input.entitycreator;
-import java.util.Comparator;
-import java.util.HashMap;
import java.util.Map;
import java.util.TreeMap;
@@ -30,7 +28,7 @@ import eu.etaxonomy.taxeditor.newWizard.NewDerivedUnitBaseWizard;
*
* OccurrenceCreator class.
*
- *
+ *
* @author n.hoffmann
* @created Jun 16, 2010
* @version 1.0
@@ -50,7 +48,7 @@ public class OccurrenceCreator implements
/** {@inheritDoc} */
@Override
public SpecimenOrObservationBase createEntity(Object key, String text) {
-
+
SpecimenOrObservationBase specimenOrObservation = null;
NewDerivedUnitBaseWizard wizard = new NewDerivedUnitBaseWizard((SpecimenOrObservationType)key);
wizard.init(null, null);
@@ -59,9 +57,9 @@ public class OccurrenceCreator implements
int status = dialog.open();
if (status == IStatus.OK) {
- specimenOrObservation = wizard.getEntity();
+ specimenOrObservation = wizard.getEntity();
}
- }
+ }
return specimenOrObservation;
}
@@ -69,22 +67,24 @@ public class OccurrenceCreator implements
*
* getKeyLabelPairs
*
- *
+ *
* @return a {@link java.util.Map} object.
*/
@Override
public Map