mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
6978200: ServerSocket.toString include "port=0" in the returned String
Removal of "port=0" from ServerSocket.toString method Reviewed-by: alanb, chegar
This commit is contained in:
parent
abdf98fef8
commit
8083d3a875
1 changed files with 0 additions and 1 deletions
|
@ -716,7 +716,6 @@ class ServerSocket implements java.io.Closeable {
|
|||
if (!isBound())
|
||||
return "ServerSocket[unbound]";
|
||||
return "ServerSocket[addr=" + impl.getInetAddress() +
|
||||
",port=" + impl.getPort() +
|
||||
",localport=" + impl.getLocalPort() + "]";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue