ICU-4162 revert couple of changes

X-SVN-Rev: 16666
This commit is contained in:
Ram Viswanadha 2004-10-29 00:42:04 +00:00
parent a0611c7e7a
commit 9ea86eb151

View File

@ -331,8 +331,7 @@ public class Currency extends MeasureUnit implements Serializable {
// Multi-level resource inheritance fallback loop
while (locale != null) {
ICUResourceBundle rb = ICUResourceBundle.createBundle(ICUResourceBundle.ICU_BASE_NAME,"CurrencyData", ICUResourceBundle.ICU_DATA_CLASS_LOADER);
ICUResourceBundle rb = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BASE_NAME,locale);
// We can't cast this to String[][]; the cast has to happen later
try {
ICUResourceBundle currencies = rb.get("Currencies");