equal
deleted
inserted
replaced
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 public class DocEnv { |
76 public class DocEnv { |
76 protected static final Context.Key<DocEnv> docEnvKey = new Context.Key<>(); |
77 protected static final Context.Key<DocEnv> docEnvKey = new Context.Key<>(); |
77 |
78 |
78 public static DocEnv instance(Context context) { |
79 public static DocEnv instance(Context context) { |
79 DocEnv instance = context.get(docEnvKey); |
80 DocEnv instance = context.get(docEnvKey); |