Skip to content

Javadoc: Add 'since' for the allOf(...), anyOf(...) methods in Specification #3102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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