]> granicus.if.org Git - icu/commitdiff
ICU-21900 With ICU-13353 being fixed, remove code that was added to work around
authorgnrunge <nrunge@google.com>
Tue, 22 Feb 2022 19:10:25 +0000 (11:10 -0800)
committerNorbert Runge <41129501+gnrunge@users.noreply.github.com>
Wed, 23 Feb 2022 16:29:07 +0000 (08:29 -0800)
ICU-13353.

icu4j/main/classes/core/src/com/ibm/icu/impl/number/LongNameHandler.java

index 080efa5a1b5af4e0c8b1bee882406c53a7eacb35..4f5dc01254f34b44290b6fab66fadcbe3e34d305 100644 (file)
@@ -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) {