mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java] IDEA-373074 Improve SOUT templates for java 25
-delete todos GitOrigin-RevId: 58071de495b345061cc5d17aea25780330d9d9ac
This commit is contained in:
committed by
intellij-monorepo-bot
parent
26814db524
commit
2b4f45afea
@@ -131,7 +131,6 @@ public final class TypeNullability {
|
||||
TypeNullability::nullability, Collectors.mapping(TypeNullability::source, Collectors.toSet())));
|
||||
Set<NullabilitySource> sources = map.get(Nullability.NOT_NULL);
|
||||
if (sources != null) {
|
||||
//todo?
|
||||
return new TypeNullability(Nullability.NOT_NULL, NullabilitySource.multiSource(sources));
|
||||
}
|
||||
sources = map.get(Nullability.NULLABLE);
|
||||
|
||||
@@ -328,7 +328,7 @@ public final class GenericsUtil {
|
||||
if (wildcardType.isSuper() && bound instanceof PsiIntersectionType) {
|
||||
return PsiWildcardType.createUnbounded(manager);
|
||||
}
|
||||
//todo
|
||||
|
||||
final PsiType acceptedBound = bound.accept(this);
|
||||
if (acceptedBound instanceof PsiWildcardType) {
|
||||
if (((PsiWildcardType)acceptedBound).isExtends() != wildcardType.isExtends()) return PsiWildcardType.createUnbounded(manager);
|
||||
@@ -394,7 +394,6 @@ public final class GenericsUtil {
|
||||
PsiType componentType = transformed.getDeepComponentType();
|
||||
if (componentType instanceof PsiWildcardType) {
|
||||
componentType = ((PsiWildcardType)componentType).getExtendsBound();
|
||||
//todo
|
||||
return PsiTypesUtil.createArrayType(componentType, transformed.getArrayDimensions());
|
||||
}
|
||||
if (transformed instanceof PsiEllipsisType) {
|
||||
|
||||
Reference in New Issue
Block a user