mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
GuessManagerImpl: ignore null assignment in GuessTypeVisitor (IDEA-CR-29504)
This commit is contained in:
+1
-1
@@ -414,7 +414,7 @@ public class GuessManagerImpl extends GuessManager {
|
||||
if (expression == null) return;
|
||||
PsiType type = expression.getType();
|
||||
PsiType rawType = type instanceof PsiClassType ? ((PsiClassType)type).rawType() : type;
|
||||
if (rawType == null) return;
|
||||
if (rawType == null || rawType.equals(PsiType.NULL)) return;
|
||||
if (mySpecificType == null) {
|
||||
mySpecificType = rawType;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user