8279528: Unused TypeEnter.diag after JDK-8205187

Reviewed-by: vromero
This commit is contained in:
Aleksey Shipilev 2022-01-10 08:30:39 +00:00
parent 2f8a2fd077
commit 4aefd8b8b6

View File

@ -109,7 +109,6 @@ public class TypeEnter implements Completer {
private final Annotate annotate;
private final TypeAnnotations typeAnnotations;
private final Types types;
private final JCDiagnostic.Factory diags;
private final DeferredLintHandler deferredLintHandler;
private final Lint lint;
private final TypeEnvs typeEnvs;
@ -137,7 +136,6 @@ public class TypeEnter implements Completer {
annotate = Annotate.instance(context);
typeAnnotations = TypeAnnotations.instance(context);
types = Types.instance(context);
diags = JCDiagnostic.Factory.instance(context);
deferredLintHandler = DeferredLintHandler.instance(context);
lint = Lint.instance(context);
typeEnvs = TypeEnvs.instance(context);