1.1 --- a/src/share/classes/com/sun/tools/javac/code/Printer.java Mon Sep 23 10:10:07 2013 +0200 1.2 +++ b/src/share/classes/com/sun/tools/javac/code/Printer.java Mon Sep 23 10:42:38 2013 +0200 1.3 @@ -103,7 +103,7 @@ 1.4 * @return localized string representation 1.5 */ 1.6 public String visitTypes(List<Type> ts, Locale locale) { 1.7 - ListBuffer<String> sbuf = ListBuffer.lb(); 1.8 + ListBuffer<String> sbuf = new ListBuffer<>(); 1.9 for (Type t : ts) { 1.10 sbuf.append(visit(t, locale)); 1.11 } 1.12 @@ -118,7 +118,7 @@ 1.13 * @return localized string representation 1.14 */ 1.15 public String visitSymbols(List<Symbol> ts, Locale locale) { 1.16 - ListBuffer<String> sbuf = ListBuffer.lb(); 1.17 + ListBuffer<String> sbuf = new ListBuffer<>(); 1.18 for (Symbol t : ts) { 1.19 sbuf.append(visit(t, locale)); 1.20 }