Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfbecker2011-06-12 13:01:01 -0400
committerfbecker2011-06-12 13:01:01 -0400
commit8daf693784e24c451db5d9f99a14c409f433f0ce (patch)
tree4255ba67594731c3a9fc51f193f450635e0f211b
parenta6d5c66da34351775b7e5529d9b4bc2efbd39792 (diff)
downloadorg.eclipse.mylyn.tasks-8daf693784e24c451db5d9f99a14c409f433f0ce.tar.gz
org.eclipse.mylyn.tasks-8daf693784e24c451db5d9f99a14c409f433f0ce.tar.xz
org.eclipse.mylyn.tasks-8daf693784e24c451db5d9f99a14c409f433f0ce.zip
ASSIGNED - bug 347032: product sorting should be case insensitive
https://bugs.eclipse.org/bugs/show_bug.cgi?id=347032
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryConfiguration.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryConfiguration.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryConfiguration.java
index 5140c5144..371c8df62 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryConfiguration.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryConfiguration.java
@@ -122,7 +122,7 @@ public class RepositoryConfiguration implements Serializable {
*/
public List<String> getProducts() {
ArrayList<String> productList = new ArrayList<String>(products.keySet());
- Collections.sort(productList);
+ Collections.sort(productList, String.CASE_INSENSITIVE_ORDER);
return productList;
}
@@ -649,7 +649,8 @@ public class RepositoryConfiguration implements Serializable {
if (element != BugzillaAttribute.RESOLUTION && element != BugzillaAttribute.OP_SYS
&& element != BugzillaAttribute.BUG_SEVERITY && element != BugzillaAttribute.PRIORITY
- && element != BugzillaAttribute.BUG_STATUS && element != BugzillaAttribute.TARGET_MILESTONE) {
+ && element != BugzillaAttribute.BUG_STATUS && element != BugzillaAttribute.TARGET_MILESTONE
+ && element != BugzillaAttribute.PRODUCT) {
Collections.sort(options);
}
}

Back to the top