diff --git a/src/main/java/org/springframework/data/repository/PagingAndSortingRepository.java b/src/main/java/org/springframework/data/repository/PagingAndSortingRepository.java index 609996406..7fe7f7b0c 100644 --- a/src/main/java/org/springframework/data/repository/PagingAndSortingRepository.java +++ b/src/main/java/org/springframework/data/repository/PagingAndSortingRepository.java @@ -42,7 +42,7 @@ public interface PagingAndSortingRepository extends CrudRepository /** * Returns a {@link Page} of entities meeting the paging restriction provided in the {@code Pageable} object. * - * @param pageable + * @param pageable must not be {@literal null}. * @return a page of entities */ Page findAll(Pageable pageable); diff --git a/src/main/java/org/springframework/data/repository/query/QueryByExampleExecutor.java b/src/main/java/org/springframework/data/repository/query/QueryByExampleExecutor.java index 33f99fe7a..6787cf4c4 100644 --- a/src/main/java/org/springframework/data/repository/query/QueryByExampleExecutor.java +++ b/src/main/java/org/springframework/data/repository/query/QueryByExampleExecutor.java @@ -29,6 +29,7 @@ import org.springframework.data.domain.Sort; * @param * @author Mark Paluch * @author Christoph Strobl + * @author Diego Krupitza * @since 1.12 */ public interface QueryByExampleExecutor { @@ -67,7 +68,7 @@ public interface QueryByExampleExecutor { * {@link Page} is returned. * * @param example must not 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 Example}. */ Page findAll(Example example, Pageable pageable);