Skip to content

Commit

Permalink
Polishing.
Browse files Browse the repository at this point in the history
Refine Pageable sort override.

See #1011
  • Loading branch information
mp911de committed Feb 5, 2025
1 parent eefb1dc commit 4e848f3
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,8 @@ default Window<T> scroll(ScrollPosition scrollPosition) {
* Get a page of matching elements for {@link Pageable}.
*
* @param pageable the pageable to request a paged result, can be {@link Pageable#unpaged()}, must not be
* {@literal null}. The given {@link Pageable} will override any previously specified {@link Sort sort} if
* the {@link Sort} object is not {@link Sort#isUnsorted()}. Any potentially specified {@link #limit(int)}
* will be overridden by {@link Pageable#getPageSize()}.
* {@literal null}. The given {@link Pageable} will override any previously specified {@link Sort sort}.
* Any potentially specified {@link #limit(int)} will be overridden by {@link Pageable#getPageSize()}.
* @return
*/
Page<T> page(Pageable pageable);
Expand Down Expand Up @@ -293,9 +292,8 @@ default Mono<Window<T>> scroll(ScrollPosition scrollPosition) {
* Get a page of matching elements for {@link Pageable}.
*
* @param pageable the pageable to request a paged result, can be {@link Pageable#unpaged()}, must not be
* {@literal null}. The given {@link Pageable} will override any previously specified {@link Sort sort} if
* the {@link Sort} object is not {@link Sort#isUnsorted()}. Any potentially specified {@link #limit(int)}
* will be overridden by {@link Pageable#getPageSize()}.
* {@literal null}. The given {@link Pageable} will override any previously specified {@link Sort sort}.
* Any potentially specified {@link #limit(int)} will be overridden by {@link Pageable#getPageSize()}.
* @return
*/
Mono<Page<T>> page(Pageable pageable);
Expand Down

0 comments on commit 4e848f3

Please sign in to comment.