Skip to content

Commit

Permalink
Remove unused local variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
akurtakov committed Apr 19, 2024
1 parent 57767ee commit 71027fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public boolean visit(final InfixExpression visited) {
try {
buffer= cu.getBuffer();
for (Comment comment : comments) {
if (!(comment instanceof LineComment lineComment)) {
if (!(comment instanceof LineComment)) {
return false;
}
if (!buffer.getText(comment.getStartPosition() + 2, comment.getLength() - 2).trim().isEmpty()) {
Expand Down

0 comments on commit 71027fc

Please sign in to comment.