Browse Source

наводим марофет

master
gsd 2 years ago
parent
commit
bacfd128df
  1. 1
      src/main/java/app/entities/server/Server.java

1
src/main/java/app/entities/server/Server.java

@ -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]));

Loading…
Cancel
Save