Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2008-06-17 23:15:10 +0000
committerrelves2008-06-17 23:15:10 +0000
commitb3005ba0490a2f01bd863483b5a29843d02667be (patch)
treefad6173969d5a908c67e56f167908b8b62a8e6f5 /org.eclipse.mylyn.bugzilla.core
parentd90defd09ffe50b1fa7c0652f4c449378fcd61b8 (diff)
downloadorg.eclipse.mylyn.tasks-b3005ba0490a2f01bd863483b5a29843d02667be.tar.gz
org.eclipse.mylyn.tasks-b3005ba0490a2f01bd863483b5a29843d02667be.tar.xz
org.eclipse.mylyn.tasks-b3005ba0490a2f01bd863483b5a29843d02667be.zip
NEW - bug 237516: [patch] priority options not sorted correctly
https://bugs.eclipse.org/bugs/show_bug.cgi?id=237516
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.core')
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaAttributeMapper.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaAttributeMapper.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaAttributeMapper.java
index 4a759b95f..515f18029 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaAttributeMapper.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaAttributeMapper.java
@@ -11,7 +11,7 @@ package org.eclipse.mylyn.internal.bugzilla.core;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
-import java.util.HashMap;
+import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
@@ -249,7 +249,7 @@ public class BugzillaAttributeMapper extends TaskAttributeMapper {
if (options.size() == 0 && attribute.getId().equals(BugzillaOperation.resolve.getInputId())) {
options = configuration.getOptionValues(BugzillaAttribute.RESOLUTION, attributeProduct.getValue());
}
- Map<String, String> newOptions = new HashMap<String, String>();
+ Map<String, String> newOptions = new LinkedHashMap<String, String>();
for (String option : options) {
newOptions.put(option, option);
}

Back to the top