8202484: Unused field in TimeZone
authornaoto
Tue, 01 May 2018 12:37:15 -0700
changeset 49939 7686304551f2
parent 49938 2c2a722a2c0c
child 49940 516128be1a80
8202484: Unused field in TimeZone Reviewed-by: lancea
src/java.base/share/classes/java/util/TimeZone.java
--- a/src/java.base/share/classes/java/util/TimeZone.java	Tue May 01 19:13:31 2018 +0200
+++ b/src/java.base/share/classes/java/util/TimeZone.java	Tue May 01 12:37:15 2018 -0700
@@ -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)