Skip to content

Commit

Permalink
allow empty allOf condition
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-toepfer committed Oct 11, 2023
1 parent a8d8be9 commit 06c5d75
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ public AllOfCondition(final Condition<? super T>... constraints) {
}

public AllOfCondition(final Collection<? extends Condition<? super T>> contraints) {
if (contraints.isEmpty()) {
throw new IllegalArgumentException("min one constraint must be provided!");
}
this.contraints = List.copyOf(contraints);
}

Expand Down

0 comments on commit 06c5d75

Please sign in to comment.