diff options
author | Elliott Hughes <enh@google.com> | 2010-03-02 15:29:53 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2010-03-02 15:33:35 -0800 |
commit | 31df07d33bf4730c76d5f11b802e8e2bd40baba9 (patch) | |
tree | 2dbb3761d41a69de474234228a8679fc66da7dd4 /icu/src/main | |
parent | 49d9c0e4dde4de23fb85a0ad16bd37c910f4f3af (diff) | |
download | libcore-31df07d33bf4730c76d5f11b802e8e2bd40baba9.zip libcore-31df07d33bf4730c76d5f11b802e8e2bd40baba9.tar.gz libcore-31df07d33bf4730c76d5f11b802e8e2bd40baba9.tar.bz2 |
Add (but @hide) String.isEmpty and Locale.ROOT.
Diffstat (limited to 'icu/src/main')
-rw-r--r-- | icu/src/main/java/com/ibm/icu4jni/util/Resources.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/icu/src/main/java/com/ibm/icu4jni/util/Resources.java b/icu/src/main/java/com/ibm/icu4jni/util/Resources.java index 66bfdfb..53be6ab 100644 --- a/icu/src/main/java/com/ibm/icu4jni/util/Resources.java +++ b/icu/src/main/java/com/ibm/icu4jni/util/Resources.java @@ -84,7 +84,7 @@ public class Resources { } else if (country.length() > 0) { result.overrideWithDataFrom(getLocaleData(new Locale(language, "", ""))); } else if (language.length() > 0) { - result.overrideWithDataFrom(getLocaleData(new Locale("", "", ""))); + result.overrideWithDataFrom(getLocaleData(Locale.ROOT)); } // Override with data from this locale. result.overrideWithDataFrom(initLocaleData(locale)); |