mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
ICU-21900 With ICU-13353 being fixed, remove code that was added to work around
ICU-13353.
This commit is contained in:
parent
fc3ca702e9
commit
bac48c8f9d
1 changed files with 0 additions and 10 deletions
|
@ -295,11 +295,6 @@ public class LongNameHandler
|
|||
// Continue: fall back to short
|
||||
}
|
||||
|
||||
// TODO(ICU-13353): The ICU4J fallback mechanism works differently:
|
||||
// investigate? Without this code, unit tests do fail:
|
||||
key.setLength(0);
|
||||
key.append("unitsShort/");
|
||||
key.append(subKey);
|
||||
unitsBundle.getAllItemsWithFallback(key.toString(), sink);
|
||||
}
|
||||
|
||||
|
@ -455,11 +450,6 @@ public class LongNameHandler
|
|||
}
|
||||
}
|
||||
|
||||
// TODO(icu-units#28): this code is not exercised by unit tests yet.
|
||||
// Also, what's the fallback mechanism mentioned in ICU-13353?
|
||||
key.setLength(0);
|
||||
key.append("unitsShort/compound/");
|
||||
key.append(compoundKey);
|
||||
try {
|
||||
return resource.getStringWithFallback(key.toString());
|
||||
} catch (MissingResourceException e) {
|
||||
|
|
Loading…
Add table
Reference in a new issue