DATACMNS-1193 - Fixed typo in JavaDoc and reference documentation of PageableDefaults.
Original pull request: #218.
This commit is contained in:
@@ -1113,7 +1113,7 @@ String showUsers(Model model,
|
||||
|
||||
you have to populate `foo_page` and `bar_page` etc.
|
||||
|
||||
The default `Pageable` handed into the method is equivalent to a `new PageRequest(0, 20)` but can be customized using the `@PageableDefaults` annotation on the `Pageable` parameter.
|
||||
The default `Pageable` handed into the method is equivalent to a `new PageRequest(0, 20)` but can be customized using the `@PageableDefault` annotation on the `Pageable` parameter.
|
||||
|
||||
[[core.web.pageables]]
|
||||
==== Hypermedia support for Pageables
|
||||
|
||||
@@ -92,7 +92,7 @@ public class PageableHandlerMethodArgumentResolver implements PageableArgumentRe
|
||||
|
||||
/**
|
||||
* Configures the {@link Pageable} to be used as fallback in case no {@link PageableDefault} or
|
||||
* {@link PageableDefaults} (the latter only supported in legacy mode) can be found at the method parameter to be
|
||||
* {@link PageableDefault} (the latter only supported in legacy mode) can be found at the method parameter to be
|
||||
* resolved.
|
||||
* <p>
|
||||
* If you set this to {@literal Optional#empty()}, be aware that you controller methods will get {@literal null}
|
||||
|
||||
Reference in New Issue
Block a user