From c96b6c0733c4aa97b7e2d0bdea19a6970fd9d070 Mon Sep 17 00:00:00 2001 From: Risto Lahtela <24460436+Rsl1122@users.noreply.github.com> Date: Sat, 28 Mar 2020 13:24:44 +0200 Subject: [PATCH] Fixed checkstyle error --- .../java/com/djrapitops/plan/delivery/webserver/Addresses.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plan/common/src/main/java/com/djrapitops/plan/delivery/webserver/Addresses.java b/Plan/common/src/main/java/com/djrapitops/plan/delivery/webserver/Addresses.java index fab3c2d8d..49b7927a7 100644 --- a/Plan/common/src/main/java/com/djrapitops/plan/delivery/webserver/Addresses.java +++ b/Plan/common/src/main/java/com/djrapitops/plan/delivery/webserver/Addresses.java @@ -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 getServerPropertyIP() {