8055054: Remove visitWildcard visitor method from erasure visitor
Remove suspicious visitor method that should not be present Reviewed-by: mcimadamore
This commit is contained in:
parent
ce4c456820
commit
14fcc1d07d
@ -2195,16 +2195,6 @@ public class Types {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Type visitWildcardType(WildcardType t, Boolean recurse) {
|
||||
final List<Attribute.TypeCompound> annos = t.getAnnotationMirrors();
|
||||
Type erased = erasure(wildUpperBound(t), recurse);
|
||||
if (!annos.isEmpty()) {
|
||||
erased = erased.annotatedType(annos);
|
||||
}
|
||||
return erased;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Type visitClassType(ClassType t, Boolean recurse) {
|
||||
Type erased = t.tsym.erasure(Types.this);
|
||||
|
Loading…
Reference in New Issue
Block a user