Skip to content

Commit 9bb406a

Browse files
rukinsgregturn
authored andcommitted
Add 'since' headers to Specification javadocs.
See #3102, #3089
1 parent 70d9bea commit 9bb406a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spring-data-jpa/src/main/java/org/springframework/data/jpa/domain/Specification.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
* @author Mark Paluch
3838
* @author Jens Schauder
3939
* @author Daniel Shuy
40+
* @author Sergey Rukin
4041
*/
4142
public interface Specification<T> extends Serializable {
4243

@@ -109,6 +110,7 @@ default Specification<T> or(@Nullable Specification<T> other) {
109110
* @param specifications The {@link Specification}s to compose. Can contain {@code null}s.
110111
* @return The conjunction of the specifications
111112
* @see #and(Specification)
113+
* @since 3.0
112114
*/
113115
static <T> Specification<T> allOf(Iterable<Specification<T>> specifications) {
114116

@@ -118,6 +120,7 @@ static <T> Specification<T> allOf(Iterable<Specification<T>> specifications) {
118120

119121
/**
120122
* @see #allOf(Iterable)
123+
* @since 3.0
121124
*/
122125
@SafeVarargs
123126
static <T> Specification<T> allOf(Specification<T>... specifications) {
@@ -130,6 +133,7 @@ static <T> Specification<T> allOf(Specification<T>... specifications) {
130133
* @param specifications The {@link Specification}s to compose. Can contain {@code null}s.
131134
* @return The disjunction of the specifications
132135
* @see #or(Specification)
136+
* @since 3.0
133137
*/
134138
static <T> Specification<T> anyOf(Iterable<Specification<T>> specifications) {
135139

@@ -139,6 +143,7 @@ static <T> Specification<T> anyOf(Iterable<Specification<T>> specifications) {
139143

140144
/**
141145
* @see #anyOf(Iterable)
146+
* @since 3.0
142147
*/
143148
@SafeVarargs
144149
static <T> Specification<T> anyOf(Specification<T>... specifications) {

0 commit comments

Comments
 (0)