From fc82f305afa69c1ed8573e48d6d200920560e7f4 Mon Sep 17 00:00:00 2001 From: Philipp Haupt Date: Wed, 4 Jun 2025 08:48:48 +0200 Subject: [PATCH] Fix whitelist check in geofencing service --- .../swisscom/mid/client/model/GeofencingAdditionalService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mid-java-client-core/src/main/java/ch/swisscom/mid/client/model/GeofencingAdditionalService.java b/mid-java-client-core/src/main/java/ch/swisscom/mid/client/model/GeofencingAdditionalService.java index 6a4e1d2..183bee9 100644 --- a/mid-java-client-core/src/main/java/ch/swisscom/mid/client/model/GeofencingAdditionalService.java +++ b/mid-java-client-core/src/main/java/ch/swisscom/mid/client/model/GeofencingAdditionalService.java @@ -88,7 +88,7 @@ public void setMaxAccuracyMeters(String maxAccuracyMeters) { public boolean isDefined() { - if(countryWhiteList!=null && !countryBlackList.isEmpty()) return true; + if (countryWhiteList != null && !countryWhiteList.isEmpty()) return true; if(countryBlackList!=null && !countryBlackList.isEmpty()) return true; if (minDeviceConfidence != null && !minDeviceConfidence.isEmpty() && !minDeviceConfidence.equalsIgnoreCase("0")) return true; if (minLocationConfidence != null && !minLocationConfidence.isEmpty() && !minLocationConfidence.equalsIgnoreCase("0")) return true;