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:
Eric McCorkle 2014-08-13 14:25:46 -04:00
parent ce4c456820
commit 14fcc1d07d

View File

@ -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);