--- a/langtools/src/share/classes/com/sun/tools/javac/resources/compiler.properties Tue Nov 02 12:00:54 2010 +0000
+++ b/langtools/src/share/classes/com/sun/tools/javac/resources/compiler.properties Tue Nov 02 12:01:35 2010 +0000
@@ -873,6 +873,13 @@
found raw type: {0}\n\
missing type parameters for generic class {1}
+compiler.warn.diamond.redundant.args=\
+ redundant type arguments in new expression (use diamond operator instead).
+compiler.warn.diamond.redundant.args.1=\
+ redundant type arguments in new expression (use diamond operator instead).\n\
+ explicit: {0}\n\
+ inferred: {1}
+
#####
## The following are tokens which are non-terminals in the language. They should