summaryrefslogtreecommitdiffstats
path: root/icu/src/main
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2010-03-02 15:29:53 -0800
committerElliott Hughes <enh@google.com>2010-03-02 15:33:35 -0800
commit31df07d33bf4730c76d5f11b802e8e2bd40baba9 (patch)
tree2dbb3761d41a69de474234228a8679fc66da7dd4 /icu/src/main
parent49d9c0e4dde4de23fb85a0ad16bd37c910f4f3af (diff)
downloadlibcore-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.java2
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));