changeset 2585:09bb56ec5fec

8055054: Remove visitWildcard visitor method from erasure visitor Summary: Remove suspicious visitor method that should not be present Reviewed-by: mcimadamore
author emc
date Wed, 13 Aug 2014 14:25:46 -0400
parents 98a99928a76b
children a108029dbcbf b6fef26b6c0b
files src/share/classes/com/sun/tools/javac/code/Types.java
diffstat 1 files changed, 0 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/tools/javac/code/Types.java	Wed Aug 13 14:44:59 2014 +0200
+++ b/src/share/classes/com/sun/tools/javac/code/Types.java	Wed Aug 13 14:25:46 2014 -0400
@@ -2196,16 +2196,6 @@
             }
 
             @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);
                 List<Attribute.TypeCompound> annos = t.getAnnotationMirrors();