diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 5a6e6e1f3e7..f744cf9c5d8 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,12 @@ +2003-03-10 Michael Koch + + * java/net/DatagramSocket.java, + java/net/MulticastSocket.java, + java/net/Socket.java, + java/net/URL.java, + java/net/URLConnection.java: + Fixed some documentation tags to make javadoc and friends happy. + 2003-03-10 Michael Koch * java/beans/beancontext/BeanContextServicesSupport.java, diff --git a/libjava/java/net/DatagramSocket.java b/libjava/java/net/DatagramSocket.java index 81c8b3cdbf9..518b6a6d2b8 100644 --- a/libjava/java/net/DatagramSocket.java +++ b/libjava/java/net/DatagramSocket.java @@ -781,7 +781,7 @@ public class DatagramSocket * @exception SocketException If an error occurs * @exception IllegalArgumentException If tc value is illegal * - * @see DatagramSocket:getTrafficClass + * @see DatagramSocket#getTrafficClass() * * @since 1.4 */ @@ -800,7 +800,7 @@ public class DatagramSocket /** * Returns the current traffic class * - * @see DatagramSocket:setTrafficClass + * @see DatagramSocket#setTrafficClass(int tc) * * @exception SocketException If an error occurs * diff --git a/libjava/java/net/MulticastSocket.java b/libjava/java/net/MulticastSocket.java index 481c8e356a9..a6dca948c8b 100644 --- a/libjava/java/net/MulticastSocket.java +++ b/libjava/java/net/MulticastSocket.java @@ -136,7 +136,7 @@ public class MulticastSocket extends DatagramSocket * * @deprecated 1.2 Replaced by getTimeToLive() * - * @see Multicastsocket:getTimeToLive + * @see MulticastSocket#getTimeToLive() */ public byte getTTL() throws IOException { @@ -182,7 +182,7 @@ public class MulticastSocket extends DatagramSocket * * @exception SocketException If an error occurs * - * @see MulticastSocket:getNetworkInterface + * @see MulticastSocket#getNetworkInterface() * * @since 1.4 */ @@ -209,7 +209,7 @@ public class MulticastSocket extends DatagramSocket * * @exception SocketException If an error occurs * - * @see MulticastSocket:setNetworkInterface + * @see MulticastSocket#setNetworkInterface(NetworkInterface netIf) * * @since 1.4 */ @@ -277,7 +277,7 @@ public class MulticastSocket extends DatagramSocket * * @deprecated 1.2 Replaced by setTimeToLive * - * @see MulticastSocket:setTimeToLive + * @see MulticastSocket#setTimeToLive(int ttl) */ public void setTTL(byte ttl) throws IOException { @@ -360,8 +360,8 @@ public class MulticastSocket extends DatagramSocket * @exception SecurityException If a security manager exists and its * checkMulticast method doesn't allow the operation * - * @see MulticastSocket:setInterface - * @see MulticastSocket:setNetworkInterface + * @see MulticastSocket#setInterface(InetAddress addr) + * @see MulticastSocket#setNetworkInterface(NetworkInterface netIf) * * @since 1.4 */ @@ -395,8 +395,8 @@ public class MulticastSocket extends DatagramSocket * @exception SecurityException If a security manager exists and its * checkMulticast method doesn't allow the operation * - * @see MulticastSocket:setInterface - * @see MulticastSocket:setNetworkInterface + * @see MulticastSocket#setInterface(InetAddress addr) + * @see MulticastSocket#setNetworkInterface(NetworkInterface netIf) * * @since 1.4 */ diff --git a/libjava/java/net/Socket.java b/libjava/java/net/Socket.java index a71218fe7ef..7070838c7e8 100644 --- a/libjava/java/net/Socket.java +++ b/libjava/java/net/Socket.java @@ -1017,7 +1017,7 @@ public class Socket * * @exception SocketException If an error occurs * - * @see Socket:setTrafficClass + * @see Socket#setTrafficClass(int tc) * * @since 1.4 */ @@ -1042,7 +1042,7 @@ public class Socket * @exception SocketException If an error occurs * @exception IllegalArgumentException If tc value is illegal * - * @see Socket:getTrafficClass + * @see Socket#getTrafficClass() * * @since 1.4 */ diff --git a/libjava/java/net/URL.java b/libjava/java/net/URL.java index ba27bbef5dd..33e42ef9a7d 100644 --- a/libjava/java/net/URL.java +++ b/libjava/java/net/URL.java @@ -552,7 +552,7 @@ public final class URL implements Serializable * Returns the query of the URL. This is the part of the file before the * '?'. * - * @ return the query part of the file, or null when there is no query part. + * @return the query part of the file, or null when there is no query part. */ public String getQuery () { diff --git a/libjava/java/net/URLConnection.java b/libjava/java/net/URLConnection.java index 0b39fe88ea6..cc65ecb0fa7 100644 --- a/libjava/java/net/URLConnection.java +++ b/libjava/java/net/URLConnection.java @@ -60,7 +60,7 @@ public abstract class URLConnection * * @param url The Object to create the URL connection to * - * @see URLConnection:connect + * @see URLConnection#connect() */ protected URLConnection(URL url) { @@ -472,8 +472,8 @@ public abstract class URLConnection * @exception IllegalStateException If already connected * @exception NullPointerException If key is null * - * @see URLConnection:getRequestProperty(String key) - * @see URLConnection:addRequestProperty(String key, String value) + * @see URLConnection#getRequestProperty(String key) + * @see URLConnection#addRequestProperty(String key, String value) */ public void setRequestProperty(String key, String value) { @@ -494,8 +494,8 @@ public abstract class URLConnection * @exception IllegalStateException If already connected * @exception NullPointerException If key is null * - * @see URLConnection:getRequestProperty(String key) - * @see URLConnection:setRequestProperty(String key, String value) + * @see URLConnection#getRequestProperty(String key) + * @see URLConnection#setRequestProperty(String key, String value) * * @since 1.4 */ @@ -517,8 +517,8 @@ public abstract class URLConnection * * @exception IllegalStateException If already connected * - * @see URLConnection:setRequestProperty(String key, String value) - * @see URLConnection:addRequestProperty(String key, String value) + * @see URLConnection#setRequestProperty(String key, String value) + * @see URLConnection#addRequestProperty(String key, String value) * * @return Value of the property. */ @@ -554,7 +554,7 @@ public abstract class URLConnection * * @deprecated 1.3 The method setRequestProperty should be used instead * - * @see URLConnection:setRequestProperty + * @see URLConnectionr#setRequestProperty(String key, String value) */ public static void setDefaultRequestProperty(String key, String value) { @@ -571,7 +571,7 @@ public abstract class URLConnection * * @deprecated 1.3 The method getRequestProperty should be used instead * - * @see URLConnection:getRequestProperty + * @see URLConnection#getRequestProperty(String key) */ public static String getDefaultRequestProperty(String key) {