Parent Directory | Revision Log | Patch
revision 1.34 by mkoch, Fri Oct 15 11:13:52 2004 UTC | revision 1.35 by mkoch, Mon Oct 25 15:37:17 2004 UTC | |
---|---|---|
# | Line 515 public class InetAddress implements Seri | Line 515 public class InetAddress implements Seri |
515 | */ | */ |
516 | public String toString() | public String toString() |
517 | { | { |
518 | String address = getHostAddress(); | String addr = getHostAddress(); |
519 | String host = (hostName != null) ? hostName : address; | String host = (hostName != null) ? hostName : addr; |
520 | return host + "/" + address; | return host + "/" + addr; |
521 | } | } |
522 | ||
523 | /** | /** |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |