We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1c85d6 commit 6edbcb7Copy full SHA for 6edbcb7
1 file changed
src/main/java/org/glavo/nbt/validation/NBTSchema.java
@@ -108,7 +108,6 @@ default NBTSchema<T> and(NBTSchema<? extends T> other) {
108
/// Creates a schema that validates if either of the given schemas validate.
109
///
110
/// @throws IllegalArgumentException if either schema is null.
111
-
112
default NBTSchema<T> or(NBTSchema<? extends T> other) {
113
Objects.requireNonNull(other, "other");
114
return new UnionSchema<>(List.of(this, other));
0 commit comments