diff options
author | 2013-05-24 12:25:15 -0700 | |
---|---|---|
committer | 2013-05-24 12:25:15 -0700 | |
commit | 5b41f31183e34cba97b83233c8e6e74a176f0130 (patch) | |
tree | 41010bb11ed09145a97b14bd40bf5676e47c9fe3 /java/src/com/android/inputmethod/dictionarypack/LocaleUtils.java | |
parent | b9de067449292b2bc835dde4473473b291da74b0 (diff) | |
parent | 94027c7201a376107a35ec78cd21db1905662601 (diff) | |
download | latinime-5b41f31183e34cba97b83233c8e6e74a176f0130.tar.gz latinime-5b41f31183e34cba97b83233c8e6e74a176f0130.tar.xz latinime-5b41f31183e34cba97b83233c8e6e74a176f0130.zip |
am 94027c72: Use Locale.ROOT for locale neutral operations
* commit '94027c7201a376107a35ec78cd21db1905662601':
Use Locale.ROOT for locale neutral operations
Diffstat (limited to 'java/src/com/android/inputmethod/dictionarypack/LocaleUtils.java')
-rw-r--r-- | java/src/com/android/inputmethod/dictionarypack/LocaleUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/dictionarypack/LocaleUtils.java b/java/src/com/android/inputmethod/dictionarypack/LocaleUtils.java index d0e8446f5..77f67b8a3 100644 --- a/java/src/com/android/inputmethod/dictionarypack/LocaleUtils.java +++ b/java/src/com/android/inputmethod/dictionarypack/LocaleUtils.java @@ -144,7 +144,7 @@ public final class LocaleUtils { public static String getMatchLevelSortedString(final int matchLevel) { // This works because the match levels are 0~99 (actually 0~30) // Ideally this should use a number of digits equals to the 1og10 of the greater matchLevel - return String.format("%02d", MATCH_LEVEL_MAX - matchLevel); + return String.format(Locale.ROOT, "%02d", MATCH_LEVEL_MAX - matchLevel); } /** |