mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
[groovy] fix NPE
This commit is contained in:
+2
-2
@@ -212,11 +212,11 @@ public class DefaultCallExpressionTypeCalculator extends GrCallExpressionTypeCal
|
||||
return arrayType.getComponentType().accept(this);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Nullable
|
||||
@Override
|
||||
public Boolean visitWildcardType(PsiWildcardType wildcardType) {
|
||||
final PsiType bound = wildcardType.getBound();
|
||||
return bound != null && bound.accept(this);
|
||||
return bound == null ? null : bound.accept(this);
|
||||
}
|
||||
}) == Boolean.TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user