src/share/classes/java/net/URL.java

Print this page

        

*** 865,875 **** /** * Creates an integer suitable for hash table indexing.<p> * * The hash code is based upon all the URL components relevant for URL ! * comparison. As such, this operation is a blocking operation.<p> * * @return a hash code for this {@code URL}. */ public synchronized int hashCode() { if (hashCode != -1) --- 865,875 ---- /** * Creates an integer suitable for hash table indexing.<p> * * The hash code is based upon all the URL components relevant for URL ! * comparison. As such, this operation is a blocking operation. * * @return a hash code for this {@code URL}. */ public synchronized int hashCode() { if (hashCode != -1)