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