perf[host]: Unify the to String method of HostAndPort

This commit is contained in:
godotg
2024-01-21 12:01:38 +08:00
parent 8417510dbc
commit efb479aebb
@@ -112,6 +112,6 @@ public class HostAndPort {
@Override
public String toString() {
return StringUtils.format("[{}]", toHostAndPortStr());
return toHostAndPortStr();
}
}