Prettier LocalAddress.toString()

This commit is contained in:
Trustin Lee 2009-02-13 04:51:36 +00:00
parent fa8890580e
commit 7b721ef1d4

View File

@ -112,7 +112,7 @@ public final class LocalAddress extends SocketAddress implements Comparable<Loca
@Override
public String toString() {
return getId();
return "local:" + getId();
}
// Just in case someone serializes this class ..