--- a/langtools/src/share/classes/com/sun/tools/javac/code/Type.java Wed Dec 18 19:22:58 2013 +0000
+++ b/langtools/src/share/classes/com/sun/tools/javac/code/Type.java Wed Dec 18 16:05:18 2013 -0500
@@ -1450,7 +1450,7 @@
/** lower bounds */
LOWER,
/** equality constraints */
- EQ;
+ EQ
}
/** inference variable bounds */
@@ -1472,7 +1472,7 @@
public UndetVar(TypeVar origin, Types types) {
super(UNDETVAR, origin);
- bounds = new EnumMap<InferenceBound, List<Type>>(InferenceBound.class);
+ bounds = new EnumMap<>(InferenceBound.class);
List<Type> declaredBounds = types.getBounds(origin);
declaredCount = declaredBounds.length();
bounds.put(InferenceBound.UPPER, declaredBounds);