< prev index next >

src/java.base/share/classes/com/sun/crypto/provider/PBEKeyFactory.java

Print this page

        

@@ -54,11 +54,11 @@
     private PBEKeyFactory(String keytype) {
         type = keytype;
     }
 
     static {
-        validTypes = new HashSet<String>(17);
+        validTypes = new HashSet<>(17);
         validTypes.add("PBEWithMD5AndDES".toUpperCase(Locale.ENGLISH));
         validTypes.add("PBEWithSHA1AndDESede".toUpperCase(Locale.ENGLISH));
         validTypes.add("PBEWithSHA1AndRC2_40".toUpperCase(Locale.ENGLISH));
         validTypes.add("PBEWithSHA1AndRC2_128".toUpperCase(Locale.ENGLISH));
         validTypes.add("PBEWithSHA1AndRC4_40".toUpperCase(Locale.ENGLISH));
< prev index next >