Skip to content

Commit

Permalink
Remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
IlanaRadinsky committed Aug 13, 2024
1 parent 218f4f2 commit dd6bf76
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
import static com.sun.source.tree.Tree.Kind.POSTFIX_INCREMENT;
import static com.sun.source.tree.Tree.Kind.PREFIX_DECREMENT;
import static com.sun.source.tree.Tree.Kind.PREFIX_INCREMENT;
import static com.sun.tools.javac.tree.JCTree.*;

import com.google.auto.service.AutoService;
import com.google.common.base.Ascii;
Expand Down Expand Up @@ -673,7 +672,7 @@ private void renameByIndex(List<? extends VariableTree> trees) {
state.reportMatch(buildDescription(unused)
.setMessage(String.format(
"The public method parameter '%s' is never read. Acknowledge an intentional occurrence by"
+ " renaming the unused variable with a leading underscore, or remove the parameter.",
+ " renaming the unused variable with a leading underscore, or remove the parameter.",
varSymbol.name))
.addFix(fix.build())
.build());
Expand Down

0 comments on commit dd6bf76

Please sign in to comment.