< prev index next >

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

Print this page

        

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