8017477: Remove TimeZone.DisplayNames, no longer used
authoralanb
Mon, 24 Jun 2013 11:26:51 +0100
changeset 18543 f3305b091190
parent 18542 7b1fa08a804e
child 18544 54c23f2cc3a5
8017477: Remove TimeZone.DisplayNames, no longer used Reviewed-by: okutsu
jdk/src/share/classes/java/util/TimeZone.java
--- a/jdk/src/share/classes/java/util/TimeZone.java	Mon Jun 24 16:25:28 2013 +0800
+++ b/jdk/src/share/classes/java/util/TimeZone.java	Mon Jun 24 11:26:51 2013 +0100
@@ -419,17 +419,6 @@
         return ZoneInfoFile.toCustomID(offset);
     }
 
-    private static class DisplayNames {
-        // Cache for managing display names per timezone per locale
-        // The structure is:
-        //   Map(key=id, value=SoftReference(Map(key=locale, value=displaynames)))
-        private static final Map<String, SoftReference<Map<Locale, String[]>>> CACHE =
-            new ConcurrentHashMap<>();
-
-        private DisplayNames() {
-        }
-    }
-
     private static String[] getDisplayNames(String id, Locale locale) {
         return TimeZoneNameUtility.retrieveDisplayNames(id, locale);
     }