jdk/src/share/classes/java/security/ProtectionDomain.java
changeset 7970 af1579474d16
parent 5506 202f599c92aa
child 8816 29f983feda95
--- a/jdk/src/share/classes/java/security/ProtectionDomain.java	Fri Jan 07 21:02:58 2011 +0000
+++ b/jdk/src/share/classes/java/security/ProtectionDomain.java	Fri Jan 07 15:39:58 2011 -0800
@@ -336,8 +336,8 @@
         int swag = 32;
         int vcap = 8;
         Enumeration<Permission> e;
-        List<Permission> pdVector = new ArrayList<Permission>(vcap);
-        List<Permission> plVector = new ArrayList<Permission>(swag);
+        List<Permission> pdVector = new ArrayList<>(vcap);
+        List<Permission> plVector = new ArrayList<>(swag);
 
         //
         // Build a vector of domain permissions for subsequent merge