提交 05aef0a8 编写于 作者: A alanb

8017477: Remove TimeZone.DisplayNames, no longer used

Reviewed-by: okutsu
上级 e0c26325
......@@ -419,17 +419,6 @@ abstract public class TimeZone implements Serializable, Cloneable {
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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册