mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup capture upper bound detection
This commit is contained in:
@@ -146,9 +146,6 @@ public class PsiCapturedWildcardType extends PsiType.Stub {
|
||||
if (myExistential.isExtends() && myParameter == null) {
|
||||
return bound;
|
||||
}
|
||||
else if (bound instanceof PsiCapturedWildcardType) {
|
||||
return PsiWildcardType.createSuper(myContext.getManager(), ((PsiCapturedWildcardType)bound).getUpperBound());
|
||||
}
|
||||
else {
|
||||
return myUpperBound;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user