This commit is contained in:
zzz
2019-09-07 13:37:31 +00:00
parent c5f126c196
commit 92515179e9
2 changed files with 3 additions and 1 deletions

View File

@@ -304,7 +304,7 @@ public abstract class Addresses {
/**
* Convenience method to convert an IP address and port to a String
* without throwing an exception.
* @return "ip:port"
* @return "ipv4:port" or "[ipv6]:port"
* @since 0.8.12
*/
public static String toString(byte[] addr, int port) {