InetAddress.java: Reformatted to better match classpath's version.
2003-06-18 Michael Koch <konqueror@gmx.de> * java/net/InetAddress.java: Reformatted to better match classpath's version. * java/net/URL.java (equals): Simplified. * java/net/URLConnection.java (setDoInput): Revised documentation. (getDefaultUseCaches): Likewise. (setRequestProperty): Added @since tag. From-SVN: r68143
This commit is contained in:
parent
a26574f5bc
commit
75da2103e4
4 changed files with 64 additions and 19 deletions
|
@ -418,14 +418,12 @@ public final class URL implements Serializable
|
|||
*
|
||||
* @return true if the URL is equal, false otherwise
|
||||
*/
|
||||
public boolean equals(Object obj)
|
||||
public boolean equals (Object obj)
|
||||
{
|
||||
if (obj == null || ! (obj instanceof URL))
|
||||
return false;
|
||||
|
||||
URL uObj = (URL) obj;
|
||||
|
||||
return handler.equals (this, uObj);
|
||||
return handler.equals (this, (URL) obj);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue