ICU-4162 for ures_openDirect use ICUResourceBundle.createBundle
X-SVN-Rev: 16664
This commit is contained in:
parent
ba8ef8ac0d
commit
be1919a36a
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user