From 25df8caa4b0290294aa53a826ed71c30d4143c34 Mon Sep 17 00:00:00 2001 From: Gaston Thea Date: Fri, 27 Oct 2023 10:39:27 -0300 Subject: [PATCH] Change filter --- src/main/java/io/split/android/client/FlagSetsFilterImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/split/android/client/FlagSetsFilterImpl.java b/src/main/java/io/split/android/client/FlagSetsFilterImpl.java index c2bd7e803..68c8d5501 100644 --- a/src/main/java/io/split/android/client/FlagSetsFilterImpl.java +++ b/src/main/java/io/split/android/client/FlagSetsFilterImpl.java @@ -26,7 +26,7 @@ public boolean intersect(Set sets) { return false; } - return Sets.intersection(mFlagSets, sets).size() > 0; + return !Sets.intersection(mFlagSets, sets).isEmpty(); } @Override