ICU-4162 for ures_openDirect use ICUResourceBundle.createBundle

X-SVN-Rev: 16664
This commit is contained in:
Ram Viswanadha 2004-10-28 23:28:37 +00:00
parent ba8ef8ac0d
commit be1919a36a

View File

@ -362,7 +362,7 @@ public final class UScript {
// return null; // return null;
//} //}
//non existent locale check //non existent locale check
if(rb.getLoadingStatus()==ICUResourceBundle.FROM_DEFAULT && !locale.equals(ULocale.getDefault())){ if(rb.getLoadingStatus()==ICUResourceBundle.FROM_DEFAULT && ! locale.equals(ULocale.getDefault())){
return null; return null;
} }
ICUResourceBundle sub = rb.get("LocaleScript"); ICUResourceBundle sub = rb.get("LocaleScript");