Fixed checkstyle error

This commit is contained in:
Risto Lahtela 2020-03-28 13:24:44 +02:00
parent 8203e85f77
commit c96b6c0733

View File

@ -103,7 +103,7 @@ public class Addresses {
}
private boolean isValidAddress(String address) {
return !address.isEmpty() && !address.equals("0.0.0.0");
return !address.isEmpty() && !"0.0.0.0".equals(address);
}
public Optional<String> getServerPropertyIP() {