--- 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);
}