From: Patrick Plitzner
Date: Mon, 15 Jun 2015 13:08:22 +0000 (+0200)
Subject: - fixed order of team members #4936
X-Git-Tag: 3.7.0~1^2~68
X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/commitdiff_plain/19333d7c1e2fa7270afc40a132ffcb3add74019a
- fixed order of team members #4936
---
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/AbstractUnboundEntityCollectionSection.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/AbstractUnboundEntityCollectionSection.java
index 99e0951c3..1e8d0f10f 100644
--- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/AbstractUnboundEntityCollectionSection.java
+++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/AbstractUnboundEntityCollectionSection.java
@@ -9,8 +9,8 @@
*/
package eu.etaxonomy.taxeditor.ui.section.occurrence.dna;
+import java.util.ArrayList;
import java.util.Collection;
-import java.util.HashSet;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IAction;
@@ -67,7 +67,7 @@ public abstract class AbstractUnboundEntityCollectionSection ex
Collection elements = getEntityCollection(entity);
if(addUnboundElement){
//cloning to avoid saving the dummy element
- Collection clonedElements = new HashSet();
+ Collection clonedElements = new ArrayList();
clonedElements.addAll(elements);
clonedElements.add(createNewElement()); //add dummy element which is not bound to entity
return clonedElements;