Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/review/XDecisionOptions.java4
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/xviewer/column/XViewerAtsAttributeValueColumn.java6
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XCombo.java4
3 files changed, 7 insertions, 7 deletions
diff --git a/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/review/XDecisionOptions.java b/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/review/XDecisionOptions.java
index ca1b4995c0d..5f1197eaae5 100644
--- a/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/review/XDecisionOptions.java
+++ b/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/review/XDecisionOptions.java
@@ -11,7 +11,7 @@
package org.eclipse.osee.ats.core.client.review;
import java.lang.ref.WeakReference;
-import java.util.HashSet;
+import java.util.LinkedHashSet;
import java.util.Set;
import java.util.logging.Level;
import org.eclipse.osee.ats.api.IAtsWorkItem;
@@ -61,7 +61,7 @@ public class XDecisionOptions {
}
public static Set<DecisionOption> getDecisionOptions(String decisionOptions) {
- Set<DecisionOption> decOptions = new HashSet<DecisionOption>();
+ Set<DecisionOption> decOptions = new LinkedHashSet<DecisionOption>();
for (String decsionOpt : decisionOptions.split("[\n\r]+")) {
DecisionOption state = new DecisionOption();
Result result = state.setFromXml(decsionOpt);
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/xviewer/column/XViewerAtsAttributeValueColumn.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/xviewer/column/XViewerAtsAttributeValueColumn.java
index 8b493378908..4e777ef3596 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/xviewer/column/XViewerAtsAttributeValueColumn.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/xviewer/column/XViewerAtsAttributeValueColumn.java
@@ -11,7 +11,7 @@
package org.eclipse.osee.ats.util.xviewer.column;
import java.util.Collection;
-import java.util.HashSet;
+import java.util.LinkedHashSet;
import java.util.Set;
import java.util.logging.Level;
import org.eclipse.nebula.widgets.xviewer.IAltLeftClickProvider;
@@ -79,7 +79,7 @@ public class XViewerAtsAttributeValueColumn extends XViewerAtsAttributeColumn im
return ((AbstractWorkflowArtifact) element).getAttributesToStringUnique(getAttributeType(), ";");
}
if (Artifacts.isOfType(element, AtsArtifactTypes.Action)) {
- Set<String> strs = new HashSet<String>();
+ Set<String> strs = new LinkedHashSet<String>();
for (TeamWorkFlowArtifact team : ActionManager.getTeams(element)) {
String str = getColumnText(team, column, columnIndex);
if (Strings.isValid(str)) {
@@ -102,7 +102,7 @@ public class XViewerAtsAttributeValueColumn extends XViewerAtsAttributeColumn im
@Override
public void handleColumnMultiEdit(TreeColumn treeColumn, Collection<TreeItem> treeItems) {
- Set<AbstractWorkflowArtifact> awas = new HashSet<AbstractWorkflowArtifact>();
+ Set<AbstractWorkflowArtifact> awas = new LinkedHashSet<AbstractWorkflowArtifact>();
for (TreeItem item : treeItems) {
Artifact art = (Artifact) item.getData();
try {
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XCombo.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XCombo.java
index ef106a45bc9..559cc476f7b 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XCombo.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XCombo.java
@@ -10,7 +10,7 @@
*******************************************************************************/
package org.eclipse.osee.framework.ui.skynet.widgets;
-import java.util.HashMap;
+import java.util.LinkedHashMap;
import java.util.Map;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
@@ -35,7 +35,7 @@ public class XCombo extends XButtonCommon {
protected String data = "";
protected String[] inDataStrings; // Strings sent in for display
//
- private final Map<String, Integer> displayDataStrings = new HashMap<String, Integer>();
+ private final Map<String, Integer> displayDataStrings = new LinkedHashMap<String, Integer>();
private String displayArray[];
private boolean isDefaultSelectionAllowed;

Back to the top