mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
NPE
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@ public class TypeCompatibilityConstraint implements ConstraintFormula {
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (t instanceof PsiArrayType && t.getArrayDimensions() == s.getArrayDimensions()) {
|
||||
else if (t instanceof PsiArrayType && s != null && t.getArrayDimensions() == s.getArrayDimensions()) {
|
||||
return isUncheckedConversion(t.getDeepComponentType(), s.getDeepComponentType());
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user