< prev index next >

src/java.base/share/classes/java/security/cert/CertStore.java

Print this page

        

@@ -407,11 +407,11 @@
      * {@code certstore.type} security property, or the string
      * {@literal "LDAP"} if no such property exists.
      */
     public final static String getDefaultType() {
         String cstype;
-        cstype = AccessController.doPrivileged(new PrivilegedAction<String>() {
+        cstype = AccessController.doPrivileged(new PrivilegedAction<>() {
             public String run() {
                 return Security.getProperty(CERTSTORE_TYPE);
             }
         });
         if (cstype == null) {
< prev index next >