From 1c691938e98a2dd825f20b58a0032b6a0c9b03b2 Mon Sep 17 00:00:00 2001 From: Vicente Romero Date: Wed, 3 Apr 2024 15:55:37 +0000 Subject: [PATCH] 8328383: Method is not used: com.sun.tools.javac.comp.Attr::thisSym Reviewed-by: jlahoda --- .../share/classes/com/sun/tools/javac/comp/Attr.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java index c55bd27d7d9..5a6e0fb8556 100644 --- a/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java @@ -328,13 +328,6 @@ public class Attr extends JCTree.Visitor { return sym != null && sym.kind == TYP; } - /** The current `this' symbol. - * @param env The current environment. - */ - Symbol thisSym(DiagnosticPosition pos, Env env) { - return rs.resolveSelf(pos, env, env.enclClass.sym, names._this); - } - /** Attribute a parsed identifier. * @param tree Parsed identifier name * @param topLevel The toplevel to use