[Fix] Renamed varargs methd ExpressionBuilder.isInArray

This commit is contained in:
Robert von Burg 2024-01-11 14:21:41 +01:00
parent 2eeda52f86
commit 373235f5e2
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ public interface ExpressionBuilder {
default <T extends StrolchRootElement> SearchExpression<T> isIn(Object right) {
return element -> PredicatesSupport.isIn(right).matches(extract(element));
}
default <T extends StrolchRootElement> SearchExpression<T> isIn(Object... right) {
default <T extends StrolchRootElement> SearchExpression<T> isInArray(Object... right) {
return element -> PredicatesSupport.isIn(right).matches(extract(element));
}

View File

@ -507,7 +507,7 @@ public class StrolchSearchTest {
.and(param(BAG_ID, PARAM_LIST_STRING_ID, listContains("World")))
.and(param(BAG_ID, PARAM_LIST_STRING_ID, listContains("World1")).not())
.and(paramOnBagType("Owner", "name").isIn("Felix", "Jill"))
.and(paramOnBagType("Owner", "name").isInArray("Felix", "Jill"))
.and(paramNull(BAG_ID, "non-existant"))
//