diff options
author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-25 08:22:56 +0000 |
---|---|---|
committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-25 08:22:56 +0000 |
commit | 40a9a8b860d4c4f41df878b0815ce5d82e66b325 (patch) | |
tree | a76a1c6adac953df1d6d51da71baa722a834173a /libjava/java/net/InetAddress.java | |
parent | c10e4953f46004a10132098e4dcd1a339626bf0b (diff) | |
download | ppe42-gcc-40a9a8b860d4c4f41df878b0815ce5d82e66b325.tar.gz ppe42-gcc-40a9a8b860d4c4f41df878b0815ce5d82e66b325.zip |
2003-09-25 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java:
Reorder imports, remove implementation comment.
(isMulticastAddress): Merged documentation from classpath.
* java/net/URLConnection.java
(setRequestProperty): Check key for null, fix documentation.
(adREquestProperty): Check key for null, remove wrong implementation
and replace it with comment to overwrite this method in subclasses,
fix documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71767 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/net/InetAddress.java')
-rw-r--r-- | libjava/java/net/InetAddress.java | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/libjava/java/net/InetAddress.java b/libjava/java/net/InetAddress.java index 6a841d08a2a..65c84d86b0b 100644 --- a/libjava/java/net/InetAddress.java +++ b/libjava/java/net/InetAddress.java @@ -38,18 +38,11 @@ exception statement from your version. */ package java.net; +import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; -import java.io.IOException; -import java.io.Serializable; import java.io.ObjectStreamException; - -/* - * Written using on-line Java Platform 1.2 API Specification, as well - * as "The Java Class Libraries", 2nd edition (Addison-Wesley, 1998). - * (The latter turns out to have some errors ...) - * Status: Believed complete and correct. - */ +import java.io.Serializable; /** * This class models an Internet address. It does not have a public @@ -137,7 +130,11 @@ public class InetAddress implements Serializable } /** - * Utility routine to check if the InetAddress is an IP multicast address + * Returns true if this address is a multicast address, false otherwise. + * An address is multicast if the high four bits are "1110". These are + * also known as "Class D" addresses. + * + * @return true if mulitcast, false if not * * @since 1.1 */ |