Hi, I just found a small typo in the documentation of InetSocketAddress.getAddress().
I'd be happy if the attached patch is reviewed and eventually sponsored. Cheers, Christoph ============== PATCH ================ diff -r 3a52333a5e57 src/java.base/share/classes/java/net/InetSocketAddress.java --- a/src/java.base/share/classes/java/net/InetSocketAddress.java Tue Jan 02 16:35:04 2018 -0500 +++ b/src/java.base/share/classes/java/net/InetSocketAddress.java Wed Jan 03 12:55:26 2018 +0100 @@ -317,10 +317,9 @@ } /** - * * Gets the {@code InetAddress}. * - * @return the InetAdress or {@code null} if it is unresolved. + * @return the InetAddress or {@code null} if it is unresolved. */ public final InetAddress getAddress() { return holder.getAddress();