Skip to content

Commit

Permalink
Update persistence-opensearch/conditions/src/main/java/org/apache/uno…
Browse files Browse the repository at this point in the history
…mi/persistence/opensearch/conditions/PropertyConditionOSQueryBuilder.java
  • Loading branch information
sergehuber authored Feb 4, 2025
1 parent e2125d6 commit e4d021b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public Query buildQuery(Condition condition, Map<String, Object> context, Condit

private void checkRequiredValuesSize(Collection<?> values, String name, String operator, int expectedSize) {
if (values == null || values.size() != expectedSize) {
throw new IllegalArgumentException("Impossible to build ES filter, missing " + expectedSize + " values for a condition using comparisonOperator: " + operator + ", and propertyName: " + name);
throw new IllegalArgumentException("Impossible to build OS filter, missing " + expectedSize + " values for a condition using comparisonOperator: " + operator + ", and propertyName: " + name);
}
}

Expand Down

0 comments on commit e4d021b

Please sign in to comment.