jdk/src/share/classes/sun/security/ssl/ProtocolList.java
changeset 7990 57019dc81b66
parent 7043 5e2d1edeb2c7
child 9035 1255eb81cc2f
child 9246 c459f79af46b
--- a/jdk/src/share/classes/sun/security/ssl/ProtocolList.java	Fri Jan 14 22:34:31 2011 +0000
+++ b/jdk/src/share/classes/sun/security/ssl/ProtocolList.java	Fri Jan 14 15:31:45 2011 -0800
@@ -83,7 +83,7 @@
             throw new IllegalArgumentException("Protocols may not be null");
         }
 
-        ArrayList<ProtocolVersion> versions = new ArrayList<ProtocolVersion>(3);
+        ArrayList<ProtocolVersion> versions = new ArrayList<>(3);
         for (int i = 0; i < names.length; i++ ) {
             ProtocolVersion version = ProtocolVersion.valueOf(names[i]);
             if (versions.contains(version) == false) {