mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[codeInsight] IDEA-190678 Inspection to warn about unnecessary array creation in log call
This patch makes RedundantArrayForVarargsCallInspection implement the CleanupLocalInspectionTool interface. Signed-off-by: Nikita Eshkeev <nikita.eshkeev@jetbrains.com> GitOrigin-RevId: e4a60093a634f4cf4ac1ef9610fc148ac94b299a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
47b41f6465
commit
9a8e82e631
+1
-1
@@ -25,7 +25,7 @@ import static com.siyeh.ig.callMatcher.CallMatcher.exactInstanceCall;
|
||||
/**
|
||||
* @author ven
|
||||
*/
|
||||
public class RedundantArrayForVarargsCallInspection extends AbstractBaseJavaLocalInspectionTool {
|
||||
public class RedundantArrayForVarargsCallInspection extends AbstractBaseJavaLocalInspectionTool implements CleanupLocalInspectionTool {
|
||||
@Override
|
||||
public @NotNull PsiElementVisitor buildVisitor(@NotNull final ProblemsHolder holder, final boolean isOnTheFly) {
|
||||
return new RedundantArrayForVarargVisitor(holder);
|
||||
|
||||
Reference in New Issue
Block a user