From 9de8e7957783cff1e0ae8c4edb2184ffb8fff256 Mon Sep 17 00:00:00 2001 From: Johannes Knutsen Date: Fri, 9 Mar 2018 12:08:55 +0100 Subject: [PATCH] KEYCLOAK-6824: Remove negation of isEmpty list check --- .../keycloak/models/sessions/infinispan/UserSessionAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/infinispan/src/main/java/org/keycloak/models/sessions/infinispan/UserSessionAdapter.java b/model/infinispan/src/main/java/org/keycloak/models/sessions/infinispan/UserSessionAdapter.java index e62fdd9f70..7bd7ec4eb4 100755 --- a/model/infinispan/src/main/java/org/keycloak/models/sessions/infinispan/UserSessionAdapter.java +++ b/model/infinispan/src/main/java/org/keycloak/models/sessions/infinispan/UserSessionAdapter.java @@ -125,7 +125,7 @@ public class UserSessionAdapter implements UserSessionModel { @Override public void removeAuthenticatedClientSessions(Collection removedClientUUIDS) { - if (removedClientUUIDS == null || ! removedClientUUIDS.isEmpty()) { + if (removedClientUUIDS == null || removedClientUUIDS.isEmpty()) { return; }