CR 6667108 code review

Christopher Hegarty - Sun Microsystems Ireland Christopher.Hegarty at Sun.COM
Fri Mar 7 01:51:16 PST 2008


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