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
@ -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…
x
Reference in New Issue
Block a user