src/jdk.javadoc/share/classes/com/sun/tools/javadoc/main/DocEnv.java
changeset 48840 5e2d2067da48
parent 47216 71c04702a3d5
equal deleted inserted replaced
48839:042834d56fbf 48840:5e2d2067da48
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    70  * @since 1.4
    70  * @since 1.4
    71  * @author Robert Field
    71  * @author Robert Field
    72  * @author Neal Gafter (rewrite)
    72  * @author Neal Gafter (rewrite)
    73  * @author Scott Seligman (generics)
    73  * @author Scott Seligman (generics)
    74  */
    74  */
    75 @Deprecated
    75 @Deprecated(since="9", forRemoval=true)
       
    76 @SuppressWarnings("removal")
    76 public class DocEnv {
    77 public class DocEnv {
    77     protected static final Context.Key<DocEnv> docEnvKey = new Context.Key<>();
    78     protected static final Context.Key<DocEnv> docEnvKey = new Context.Key<>();
    78 
    79 
    79     public static DocEnv instance(Context context) {
    80     public static DocEnv instance(Context context) {
    80         DocEnv instance = context.get(docEnvKey);
    81         DocEnv instance = context.get(docEnvKey);