From 19333d7c1e2fa7270afc40a132ffcb3add74019a Mon Sep 17 00:00:00 2001
From: Patrick Plitzner
Date: Mon, 15 Jun 2015 15:08:22 +0200
Subject: [PATCH] - fixed order of team members #4936
---
.../dna/AbstractUnboundEntityCollectionSection.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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;
--
2.34.1