mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
GuessManagerImpl: null-check. Fixed EA-113310
This commit is contained in:
+1
-1
@@ -437,7 +437,7 @@ public class GuessManagerImpl extends GuessManager {
|
||||
if (type instanceof PsiIntersectionType) {
|
||||
myResult.putValues((PsiExpression)myForPlace, Arrays.asList(((PsiIntersectionType)type).getConjuncts()));
|
||||
}
|
||||
else {
|
||||
else if (type != null) {
|
||||
myResult.putValue((PsiExpression)myForPlace, type);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user