Skip to content

Commit 5325712

Browse files
author
Athira M
committed
Return empty list if conditions are empty rather than throwing error
1 parent 5df02de commit 5325712

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/main/java/com/google/firebase/remoteconfig/ConditionEvaluator.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ final class ConditionEvaluator {
5555
Map<String, Boolean> evaluateConditions(
5656
@NonNull List<ServerCondition> conditions, @Nullable KeysAndValues context) {
5757
checkNotNull(conditions, "List of conditions must not be null.");
58-
checkArgument(!conditions.isEmpty(), "List of conditions must not be empty.");
5958
if (context == null || conditions.isEmpty()) {
6059
return ImmutableMap.of();
6160
}

0 commit comments

Comments
 (0)