mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
notnull, cleanup, performance
This commit is contained in:
@@ -37,7 +37,7 @@ public abstract class RestInspection extends LocalInspectionTool implements Cust
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isSuppressedFor(PsiElement element) {
|
||||
public boolean isSuppressedFor(@NotNull PsiElement element) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ public abstract class PyInspection extends LocalInspectionTool implements Custom
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isSuppressedFor(PsiElement element) {
|
||||
public boolean isSuppressedFor(@NotNull PsiElement element) {
|
||||
final PsiFile file = element.getContainingFile();
|
||||
boolean isAccepted = true;
|
||||
if (file instanceof PyFileImpl) {
|
||||
|
||||
Reference in New Issue
Block a user