Fix the "Inner class may be 'static'" warning

GitOrigin-RevId: 2d7ea3be999e8750673731dab810af16f765c18f
This commit is contained in:
Andrey Cherkasov
2023-12-15 13:10:21 +04:00
committed by intellij-monorepo-bot
parent eefebf209e
commit b46f106dce

View File

@@ -116,7 +116,7 @@ public final class PyShadowingBuiltinsInspection extends PyInspection {
}
}
private class Visitor extends PyInspectionVisitor {
private static class Visitor extends PyInspectionVisitor {
private final Set<String> myIgnoredNames;
Visitor(@Nullable ProblemsHolder holder, @NotNull TypeEvalContext context, @NotNull Collection<String> ignoredNames) {