DATACMNS-867 - Removed handling of null Pageables.

Pageable now exposes a dedicated null-object representing the absence of pagination so that all places that previously handled null values can now rather be more relaxed and assume that a non-null value is given.
This commit is contained in:
Oliver Gierke
2017-03-15 16:57:33 +01:00
parent 917c3e2889
commit dec820d6c2
5 changed files with 30 additions and 21 deletions

View File

@@ -83,7 +83,7 @@ public interface QuerydslPredicateExecutor<T> {
* {@link Page} is returned.
*
* @param predicate can be {@literal null}.
* @param pageable can be {@literal null}.
* @param pageable must not be {@literal null}.
* @return a {@link Page} of entities matching the given {@link Predicate}.
*/
Page<T> findAll(Predicate predicate, Pageable pageable);