diff --git a/core/src/main/java/io/github/sebastiantoepfer/jsonschema/core/codition/AllOfCondition.java b/core/src/main/java/io/github/sebastiantoepfer/jsonschema/core/codition/AllOfCondition.java index 3c9168b8..3350866f 100644 --- a/core/src/main/java/io/github/sebastiantoepfer/jsonschema/core/codition/AllOfCondition.java +++ b/core/src/main/java/io/github/sebastiantoepfer/jsonschema/core/codition/AllOfCondition.java @@ -37,9 +37,6 @@ public AllOfCondition(final Condition... constraints) { } public AllOfCondition(final Collection> contraints) { - if (contraints.isEmpty()) { - throw new IllegalArgumentException("min one constraint must be provided!"); - } this.contraints = List.copyOf(contraints); }