CR 6667108 code review

Jean-Christophe Collet Jean-Christophe.Collet at Sun.COM
Fri Mar 7 02:06:04 PST 2008


Approved.

Christopher Hegarty - Sun Microsystems Ireland wrote:
> CR 6667108: "typo in javadoc for 
> java.net.Socket.getRemoteSocketAddress()"
>
> Trivial cleanup of a typo in getRemoteSocketAddress specification.
>
>
> diff -r fa6948bdc4b0 src/share/classes/java/net/Socket.java
> --- a/src/share/classes/java/net/Socket.java    Thu Mar 06 10:35:28 
> 2008 -0800
> +++ b/src/share/classes/java/net/Socket.java    Fri Mar 07 09:51:14 
> 2008 +0000
> @@ -731,7 +731,7 @@ class Socket implements java.io.Closeabl
>       * then this method will continue to return the connected address
>       * after the socket is closed.
>       *
> -     * @return a <code>SocketAddress</code> reprensenting the remote 
> endpoint of this
> +     * @return a <code>SocketAddress</code> representing the remote 
> endpoint of this
>       *         socket, or <code>null</code> if it is not connected yet.
>       * @see #getInetAddress()
>       * @see #getPort()
>
> -Chris.




More information about the net-dev mailing list