aboutsummaryrefslogtreecommitdiffstats
path: root/lint
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2012-01-06 11:11:43 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-01-06 11:11:43 -0800
commit51823e55d86449d14533e6bee69215196a42a829 (patch)
tree508551fa4ebc70bee425a9472dbeae250fe18d58 /lint
parentc31bbd94e977962f617943a13a72b7a7d31707e0 (diff)
parent18bce12c5916331971b2e8108f8485cc56b696d3 (diff)
downloadsdk-51823e55d86449d14533e6bee69215196a42a829.zip
sdk-51823e55d86449d14533e6bee69215196a42a829.tar.gz
sdk-51823e55d86449d14533e6bee69215196a42a829.tar.bz2
Merge "Fix locale handling of uppercase/lowercase"
Diffstat (limited to 'lint')
-rw-r--r--lint/libs/lint_api/src/com/android/tools/lint/client/api/DefaultConfiguration.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/lint/libs/lint_api/src/com/android/tools/lint/client/api/DefaultConfiguration.java b/lint/libs/lint_api/src/com/android/tools/lint/client/api/DefaultConfiguration.java
index 1f3d9e9..3622a73 100644
--- a/lint/libs/lint_api/src/com/android/tools/lint/client/api/DefaultConfiguration.java
+++ b/lint/libs/lint_api/src/com/android/tools/lint/client/api/DefaultConfiguration.java
@@ -42,6 +42,7 @@ import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
+import java.util.Locale;
import java.util.Map;
import java.util.Set;
@@ -279,7 +280,8 @@ public class DefaultConfiguration extends Configuration {
writeAttribute(writer, ATTR_ID, id);
Severity severity = mSeverity.get(id);
if (severity != null) {
- writeAttribute(writer, ATTR_SEVERITY, severity.name().toLowerCase());
+ writeAttribute(writer, ATTR_SEVERITY,
+ severity.name().toLowerCase(Locale.US));
}
List<String> paths = mSuppressed.get(id);