mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
isConflictingNameDeclaredInside: NPE fixed
GitOrigin-RevId: bfbe66f171b9a0e8c1ef7217b180c4ba54a9c993
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4ce57c1848
commit
6ab207c197
+2
-1
@@ -240,7 +240,8 @@ public class InstanceOfUtils {
|
||||
return null;
|
||||
}
|
||||
|
||||
private static boolean isConflictingNameDeclaredInside(PsiIdentifier identifier, PsiElement statement) {
|
||||
private static boolean isConflictingNameDeclaredInside(@Nullable PsiIdentifier identifier, @NotNull PsiElement statement) {
|
||||
if (identifier == null) return false;
|
||||
class Visitor extends JavaRecursiveElementWalkingVisitor {
|
||||
boolean hasConflict = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user