6667108: typo in javadoc for java.net.Socket.getRemoteSocketAddress()
Summary: Simple typo in method specification.
Reviewed-by: jccollet
--- a/jdk/src/share/classes/java/net/Socket.java Thu Mar 06 10:35:28 2008 -0800
+++ b/jdk/src/share/classes/java/net/Socket.java Fri Mar 07 09:57:22 2008 +0000
@@ -731,7 +731,7 @@
* 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()