diff --git a/spring-data-jpa/src/main/java/org/springframework/data/jpa/domain/Specification.java b/spring-data-jpa/src/main/java/org/springframework/data/jpa/domain/Specification.java index a5b39ef017..bbbaa2e95e 100644 --- a/spring-data-jpa/src/main/java/org/springframework/data/jpa/domain/Specification.java +++ b/spring-data-jpa/src/main/java/org/springframework/data/jpa/domain/Specification.java @@ -37,6 +37,7 @@ * @author Mark Paluch * @author Jens Schauder * @author Daniel Shuy + * @author Sergey Rukin */ public interface Specification extends Serializable { @@ -109,6 +110,7 @@ default Specification or(@Nullable Specification other) { * @param specifications The {@link Specification}s to compose. Can contain {@code null}s. * @return The conjunction of the specifications * @see #and(Specification) + * @since 3.0 */ static Specification allOf(Iterable> specifications) { @@ -118,6 +120,7 @@ static Specification allOf(Iterable> specifications) { /** * @see #allOf(Iterable) + * @since 3.0 */ @SafeVarargs static Specification allOf(Specification... specifications) { @@ -130,6 +133,7 @@ static Specification allOf(Specification... specifications) { * @param specifications The {@link Specification}s to compose. Can contain {@code null}s. * @return The disjunction of the specifications * @see #or(Specification) + * @since 3.0 */ static Specification anyOf(Iterable> specifications) { @@ -139,6 +143,7 @@ static Specification anyOf(Iterable> specifications) { /** * @see #anyOf(Iterable) + * @since 3.0 */ @SafeVarargs static Specification anyOf(Specification... specifications) {