From dcb08cfaedc323eed67241b1702e08d7ac21926c Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Thu, 22 Aug 2019 12:47:36 +0200 Subject: [PATCH] DATACMNS-1569 - Updated Javadoc in Querydsl APIs for nullability rules on paging and sorting. --- .../data/querydsl/QuerydslPredicateExecutor.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/springframework/data/querydsl/QuerydslPredicateExecutor.java b/src/main/java/org/springframework/data/querydsl/QuerydslPredicateExecutor.java index 2d651a07c..89101944e 100644 --- a/src/main/java/org/springframework/data/querydsl/QuerydslPredicateExecutor.java +++ b/src/main/java/org/springframework/data/querydsl/QuerydslPredicateExecutor.java @@ -58,7 +58,7 @@ public interface QuerydslPredicateExecutor { * be found an empty {@link Iterable} is returned. * * @param predicate must not be {@literal null}. - * @param sort the {@link Sort} specification to sort the results by, may be {@link Sort#empty()}, must not be + * @param sort the {@link Sort} specification to sort the results by, may be {@link Sort#unsorted()}, must not be * {@literal null}. * @return all entities matching the given {@link Predicate}. * @since 1.10 @@ -70,7 +70,7 @@ public interface QuerydslPredicateExecutor { * match could be found an empty {@link Iterable} is returned. * * @param predicate must not be {@literal null}. - * @param orders the {@link OrderSpecifier}s to sort the results by. + * @param orders the {@link OrderSpecifier}s to sort the results by, must not be {@literal null}. * @return all entities matching the given {@link Predicate} applying the given {@link OrderSpecifier}s. */ Iterable findAll(Predicate predicate, OrderSpecifier... orders); @@ -78,7 +78,7 @@ public interface QuerydslPredicateExecutor { /** * Returns all entities ordered by the given {@link OrderSpecifier}s. * - * @param orders the {@link OrderSpecifier}s to sort the results by. + * @param orders the {@link OrderSpecifier}s to sort the results by, must not be {@literal null}. * @return all entities ordered by the given {@link OrderSpecifier}s. */ Iterable findAll(OrderSpecifier... orders);