Skip to content

Commit

Permalink
Add 'since' headers to Specification javadocs.
Browse files Browse the repository at this point in the history
See #3102, #3089
  • Loading branch information
trayanus1026 committed Aug 4, 2023
1 parent f15e6d0 commit b0739fe
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
* @author Mark Paluch
* @author Jens Schauder
* @author Daniel Shuy
* @author Sergey Rukin
*/
public interface Specification<T> extends Serializable {

Expand Down Expand Up @@ -109,6 +110,7 @@ default Specification<T> or(@Nullable Specification<T> 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 <T> Specification<T> allOf(Iterable<Specification<T>> specifications) {

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

/**
* @see #allOf(Iterable)
* @since 3.0
*/
@SafeVarargs
static <T> Specification<T> allOf(Specification<T>... specifications) {
Expand All @@ -130,6 +133,7 @@ static <T> Specification<T> allOf(Specification<T>... 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 <T> Specification<T> anyOf(Iterable<Specification<T>> specifications) {

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

/**
* @see #anyOf(Iterable)
* @since 3.0
*/
@SafeVarargs
static <T> Specification<T> anyOf(Specification<T>... specifications) {
Expand Down

0 comments on commit b0739fe

Please sign in to comment.