ICU-4450 synch data with CLDR 1.3-alpha

X-SVN-Rev: 17374
This commit is contained in:
Ram Viswanadha 2005-03-22 21:49:45 +00:00
parent 528569a151
commit 2e0093f250
2 changed files with 5 additions and 8 deletions

View File

@ -449,7 +449,7 @@ public class ICUResourceBundleImpl extends ICUResourceBundle {
if (val > -1) {
return handleGet(val, table);
}
throw new UResourceTypeMismatchException("");
throw new UResourceTypeMismatchException("Could not get the correct value for index: "+ index);
}
protected ICUResourceBundle handleGet(int index) {
return handleGet(index, null);
@ -599,11 +599,8 @@ public class ICUResourceBundleImpl extends ICUResourceBundle {
private static final char RES_PATH_SEP_CHAR = '/';
private static final String ICUDATA = "ICUDATA";
private static final int getIndex(String s) {
if (s.length() == 1) {
char c = s.charAt(0);
if (Character.isDigit(c)) {
return Integer.valueOf(s).intValue();
}
if (s.length() >= 1) {
return Integer.valueOf(s).intValue();
}
return -1;
}

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:be6112e03054ac74371de4e032c42ba6867fe6c2c1e79de7881acd70a9d3df12
size 2020953
oid sha256:6c170448cded9a3601290c32a29d978ec059ca3c9146d4cd58447b1e41abb7d4
size 1938947