Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
gthea committed Sep 27, 2023
1 parent 7a2e170 commit 6ff4002
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/split/android/client/FilterBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ private void addFilters(List<SplitFilter> filters) {

private void validateFilterSize(SplitFilter.Type type, int size) {
if (size > type.maxValuesCount()) {
String message = "Error: " + type.maxValuesCount() + " different split " + type.queryStringField() +
String message = "Error: " + type.maxValuesCount() + " different feature flag " + type.queryStringField() +
" can be specified at most. You passed " + size
+ ". Please consider reducing the amount or using prefixes to target specific groups of splits.";
+ ". Please consider reducing the amount or using prefixes to target specific groups of feature flags.";
throw new IllegalArgumentException(message);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/split/android/client/SplitFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public int maxValuesCount() {
case BY_PREFIX:
return 50;
case BY_SET:
return 1000;
return 999999;
default:
return 0;
}
Expand Down

0 comments on commit 6ff4002

Please sign in to comment.