<i18n dev> [11] RFR (XS): 8202484: Unused field in TimeZone

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

<i18n dev> [11] RFR (XS): 8202484: Unused field in TimeZone

naoto.sato
Hi,

Please review this cleanup in TimeZone class, where an unused field is
removed.

Naoto

--

diff -r 7fed08d588b5 src/java.base/share/classes/java/util/TimeZone.java
--- a/src/java.base/share/classes/java/util/TimeZone.java
+++ b/src/java.base/share/classes/java/util/TimeZone.java
@@ -1,5 +1,5 @@
  /*
- * Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights
reserved.
+ * Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights
reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
@@ -784,9 +784,6 @@
      static final String         GMT_ID        = "GMT";
      private static final int    GMT_ID_LENGTH = 3;

-    // a static TimeZone we can reference if no AppContext is in place
-    private static volatile TimeZone mainAppContextDefault;
-
      /**
       * Parses a custom time zone identifier and returns a
corresponding zone.
       * This method doesn't support the RFC 822 time zone format.
(e.g., +hhmm)
Reply | Threaded
Open this post in threaded view
|

Re: <i18n dev> [11] RFR (XS): 8202484: Unused field in TimeZone

Lance Andersen
+1
> On May 1, 2018, at 2:25 PM, Naoto Sato <[hidden email]> wrote:
>
> mainAppContextDefault

 <http://oracle.com/us/design/oracle-email-sig-198324.gif>
 <http://oracle.com/us/design/oracle-email-sig-198324.gif> <http://oracle.com/us/design/oracle-email-sig-198324.gif>
 <http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering
1 Network Drive
Burlington, MA 01803
[hidden email] <mailto:[hidden email]>