changeset 50464:7686304551f2

8202484: Unused field in TimeZone Reviewed-by: lancea
author naoto
date Tue, 01 May 2018 12:37:15 -0700
parents 2c2a722a2c0c
children 516128be1a80
files src/java.base/share/classes/java/util/TimeZone.java
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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)