|
|
@ -49,6 +49,7 @@ public class Server { |
|
|
|
uniq.merge(key, count, (x,y) -> y); |
|
|
|
} |
|
|
|
|
|
|
|
@JsonIgnore |
|
|
|
public InetSocketAddress getInetAddress() { |
|
|
|
String[] splitted_address = address.split(":", 2); |
|
|
|
return new InetSocketAddress(splitted_address[0], Integer.parseInt(splitted_address[1])); |
|
|
|