< prev index next >

src/java.base/unix/classes/sun/net/www/protocol/http/ntlm/NTLMAuthentication.java

Print this page

        

@@ -93,11 +93,11 @@
     }
 
     private void init0() {
 
         hostname = java.security.AccessController.doPrivileged(
-            new java.security.PrivilegedAction<String>() {
+            new java.security.PrivilegedAction<>() {
             public String run() {
                 String localhost;
                 try {
                     localhost = InetAddress.getLocalHost().getHostName();
                 } catch (UnknownHostException e) {
< prev index next >