< prev index next >

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

Print this page

        

@@ -311,11 +311,11 @@
      * by the {@code certpathvalidator.type} security property, or the string
      * {@literal "PKIX"} if no such property exists.
      */
     public final static String getDefaultType() {
         String cpvtype =
-            AccessController.doPrivileged(new PrivilegedAction<String>() {
+            AccessController.doPrivileged(new PrivilegedAction<>() {
                 public String run() {
                     return Security.getProperty(CPV_TYPE);
                 }
             });
         return (cpvtype == null) ? "PKIX" : cpvtype;
< prev index next >