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