< prev index next >

src/java.base/share/classes/sun/net/www/protocol/http/HttpURLConnection.java

Print this page

        

@@ -980,11 +980,11 @@
         } else if (h1.equalsIgnoreCase(h2)) {
             return true;
         }
         // Have to resolve addresses before comparing, otherwise
         // names like tachyon and tachyon.eng would compare different
-        final boolean result[] = {false};
+        final boolean[] result = {false};
 
         java.security.AccessController.doPrivileged(
             new java.security.PrivilegedAction<>() {
                 public Void run() {
                 try {
< prev index next >