langtools/src/jdk.javadoc/share/classes/com/sun/tools/javadoc/main/WildcardTypeImpl.java
equal
deleted
inserted
replaced
126 return s.toString(); |
126 return s.toString(); |
127 } |
127 } |
128 |
128 |
129 private static List<Type> getExtendsBounds(Type.WildcardType wild) { |
129 private static List<Type> getExtendsBounds(Type.WildcardType wild) { |
130 return wild.isSuperBound() |
130 return wild.isSuperBound() |
131 ? List.<Type>nil() |
131 ? List.nil() |
132 : List.of(wild.type); |
132 : List.of(wild.type); |
133 } |
133 } |
134 |
134 |
135 private static List<Type> getSuperBounds(Type.WildcardType wild) { |
135 private static List<Type> getSuperBounds(Type.WildcardType wild) { |
136 return wild.isExtendsBound() |
136 return wild.isExtendsBound() |
137 ? List.<Type>nil() |
137 ? List.nil() |
138 : List.of(wild.type); |
138 : List.of(wild.type); |
139 } |
139 } |
140 } |
140 } |