summaryrefslogtreecommitdiff
path: root/java/net/URLStreamHandler.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2004-10-15 09:55:59 +0000
committerMichael Koch <konqueror@gmx.de>2004-10-15 09:55:59 +0000
commitc865b043158829019a011c28f13cd2f90bb8ff7e (patch)
tree8ef826a2db5e0b27f762c2bfc850c6b7c7a21f4f /java/net/URLStreamHandler.java
parent18a55fbdd145fdc919c234c4f3423439b723a319 (diff)
downloadclasspath-c865b043158829019a011c28f13cd2f90bb8ff7e.tar.gz
2004-10-15 Michael Koch <konqueror@gmx.de>
* java/net/Inet4Address.java (writeReplace): Use two-argument constructor of InetAddress. (Inet4Address): Remove unused constructors. Use two-argument constructor of InetAddress in remaining constructor. * java/net/Inet6Address.java (Inet6Address): Use two-argument constructor of InetAddress. * java/net/InetAddress.java (LOCALHOST): New static field to store object for localhost. (static): Initialize LOCALHOST. (hostname_alias): Removed. (InetAdress): Removed hostname_alias argument. (getHostName): Don't handle alias anymore. (getCanonicalHostName): New method. (toString): Don't handle alias anymore. (getByName): Simply call getAllByName() and return its first result entry. (getAllByName): Handle null argument properly.
Diffstat (limited to 'java/net/URLStreamHandler.java')
0 files changed, 0 insertions, 0 deletions