Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
cernat-catalin committed Feb 14, 2023
1 parent f246e6b commit 4158c4f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ private static String getImportToRemove(Symbol symbol) {
}

private static boolean isMatch(Symbol symbol, VisitorState state) {
Symbol enclosingSymbol = symbol.owner;
if (enclosingSymbol == null || enclosingSymbol.kind != TYP) {
Symbol owner = symbol.owner;
if (owner == null || owner.kind != TYP) {
return false;
}

Expand All @@ -150,7 +150,7 @@ private static boolean isMatch(Symbol symbol, VisitorState state) {
return false;
}

String qualifiedTypeName = enclosingSymbol.getQualifiedName().toString();
String qualifiedTypeName = owner.getQualifiedName().toString();
return !isExempted(qualifiedTypeName, identifierName)
&& isCandidate(qualifiedTypeName, identifierName);
}
Expand Down

0 comments on commit 4158c4f

Please sign in to comment.