diff options
author | Tor Norbye <tnorbye@google.com> | 2012-01-06 11:11:43 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-01-06 11:11:43 -0800 |
commit | 51823e55d86449d14533e6bee69215196a42a829 (patch) | |
tree | 508551fa4ebc70bee425a9472dbeae250fe18d58 /lint | |
parent | c31bbd94e977962f617943a13a72b7a7d31707e0 (diff) | |
parent | 18bce12c5916331971b2e8108f8485cc56b696d3 (diff) | |
download | sdk-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.java | 4 |
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); |