jdk/src/share/classes/java/lang/invoke/MethodHandleProxies.java
changeset 22581 e868cde95050
parent 20534 da86f7904e6d
child 23010 6dadb192ad81
--- a/jdk/src/share/classes/java/lang/invoke/MethodHandleProxies.java	Mon Jan 27 17:13:16 2014 +0400
+++ b/jdk/src/share/classes/java/lang/invoke/MethodHandleProxies.java	Mon Jan 27 14:29:37 2014 +0100
@@ -303,7 +303,7 @@
 
     private static
     Method[] getSingleNameMethods(Class<?> intfc) {
-        ArrayList<Method> methods = new ArrayList<Method>();
+        ArrayList<Method> methods = new ArrayList<>();
         String uniqueName = null;
         for (Method m : intfc.getMethods()) {
             if (isObjectMethod(m))  continue;