From 9bb406a5c94f9323fced0c13ee92f20014360b65 Mon Sep 17 00:00:00 2001 From: Sergey Rukin Date: Fri, 4 Aug 2023 22:04:44 +0500 Subject: [PATCH] Add 'since' headers to Specification javadocs. See #3102, #3089 --- .../org/springframework/data/jpa/domain/Specification.java | 5 +++++ 1 file changed, 5 insertions(+) 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 a5b39ef01..bbbaa2e95 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 @@ import org.springframework.lang.Nullable; * @author Mark Paluch * @author Jens Schauder * @author Daniel Shuy + * @author Sergey Rukin */ public interface Specification extends Serializable { @@ -109,6 +110,7 @@ public interface Specification extends Serializable { * @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 @@ public interface Specification extends Serializable { /** * @see #allOf(Iterable) + * @since 3.0 */ @SafeVarargs static Specification allOf(Specification... specifications) { @@ -130,6 +133,7 @@ public interface Specification extends Serializable { * @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 @@ public interface Specification extends Serializable { /** * @see #anyOf(Iterable) + * @since 3.0 */ @SafeVarargs static Specification anyOf(Specification... specifications) {