Add toString()

This commit is contained in:
filoghost 2014-12-30 13:43:25 +01:00
parent 3f9b0da4fe
commit 5efc4a5def

View File

@ -17,5 +17,10 @@ public class ServerAddress {
public int getPort() { public int getPort() {
return port; return port;
} }
@Override
public String toString() {
return ip + ":" + port;
}
} }