Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2007-01-26 19:44:03 +0000
committerrelves2007-01-26 19:44:03 +0000
commit264807a65141e89d17640557211653e8d2227091 (patch)
tree34f2854888a56137490f04244f7f3f2cbc902375 /org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryReportFactory.java
parent4382ccf8adf417bec111d4083be857be0bb073e0 (diff)
downloadorg.eclipse.mylyn.tasks-264807a65141e89d17640557211653e8d2227091.tar.gz
org.eclipse.mylyn.tasks-264807a65141e89d17640557211653e8d2227091.tar.xz
org.eclipse.mylyn.tasks-264807a65141e89d17640557211653e8d2227091.zip
NEW - bug 168652: Mylar fails if the default locale is Turkish due to i and I are different characters in Turkish Locale
https://bugs.eclipse.org/bugs/show_bug.cgi?id=168652
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryReportFactory.java')
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryReportFactory.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryReportFactory.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryReportFactory.java
index 0f108ff33..d6452eb7c 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryReportFactory.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryReportFactory.java
@@ -13,6 +13,7 @@ package org.eclipse.mylar.internal.bugzilla.core;
import java.io.IOException;
import java.io.InputStream;
+import java.util.Locale;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IStatus;
@@ -39,7 +40,7 @@ public class RepositoryReportFactory extends AbstractReportFactory {
collectResults(contentHandler, false);
if (contentHandler.errorOccurred()) {
- String errorResponse = contentHandler.getErrorMessage().toLowerCase();
+ String errorResponse = contentHandler.getErrorMessage().toLowerCase(Locale.ENGLISH);
if (errorResponse.equals(IBugzillaConstants.XML_ERROR_NOTFOUND)
|| errorResponse.equals(IBugzillaConstants.XML_ERROR_INVALIDBUGID)) {
throw new CoreException(new MylarStatus(IStatus.ERROR, BugzillaCorePlugin.PLUGIN_ID,

Back to the top