Skip to content

Commit 4aefd8b

Browse files
committedJan 10, 2022
8279528: Unused TypeEnter.diag after JDK-8205187
Reviewed-by: vromero
1 parent 2f8a2fd commit 4aefd8b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java

-2
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ public class TypeEnter implements Completer {
109109
private final Annotate annotate;
110110
private final TypeAnnotations typeAnnotations;
111111
private final Types types;
112-
private final JCDiagnostic.Factory diags;
113112
private final DeferredLintHandler deferredLintHandler;
114113
private final Lint lint;
115114
private final TypeEnvs typeEnvs;
@@ -137,7 +136,6 @@ protected TypeEnter(Context context) {
137136
annotate = Annotate.instance(context);
138137
typeAnnotations = TypeAnnotations.instance(context);
139138
types = Types.instance(context);
140-
diags = JCDiagnostic.Factory.instance(context);
141139
deferredLintHandler = DeferredLintHandler.instance(context);
142140
lint = Lint.instance(context);
143141
typeEnvs = TypeEnvs.instance(context);

0 commit comments

Comments
 (0)
Please sign in to comment.