changeset 5320 | e2aaa958b02d |
parent 4417 | fc5cc811d2dd |
child 5321 | c8efe769cb3b |
--- a/langtools/src/share/classes/com/sun/tools/javac/code/Source.java Fri Apr 09 15:39:39 2010 -0700 +++ b/langtools/src/share/classes/com/sun/tools/javac/code/Source.java Wed Apr 14 12:23:29 2010 +0100 @@ -122,9 +122,6 @@ public boolean allowGenerics() { return compareTo(JDK1_5) >= 0; } - public boolean allowDiamond() { - return compareTo(JDK1_7) >= 0; - } public boolean allowEnums() { return compareTo(JDK1_5) >= 0; }