DATACMNS-1193 - Fixed typo in JavaDoc and reference documentation of PageableDefaults.

Original pull request: #218.
This commit is contained in:
stonio
2017-05-20 17:28:36 +02:00
committed by Oliver Gierke
parent d3fb691220
commit 47c2a40228
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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}