Skip to content

Commit aabd9d9

Browse files
stonioodrotbohm
authored andcommitted
DATACMNS-1193 - Fixed typo in JavaDoc and reference documentation of PageableDefaults.
Original pull request: #218.
1 parent c9e0803 commit aabd9d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/asciidoc/repositories.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,7 @@ String showUsers(Model model,
11131113

11141114
you have to populate `foo_page` and `bar_page` etc.
11151115

1116-
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.
1116+
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.
11171117

11181118
[[core.web.pageables]]
11191119
==== Hypermedia support for Pageables

src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public PageableHandlerMethodArgumentResolver(@Nullable SortArgumentResolver sort
9292

9393
/**
9494
* Configures the {@link Pageable} to be used as fallback in case no {@link PageableDefault} or
95-
* {@link PageableDefaults} (the latter only supported in legacy mode) can be found at the method parameter to be
95+
* {@link PageableDefault} (the latter only supported in legacy mode) can be found at the method parameter to be
9696
* resolved.
9797
* <p>
9898
* If you set this to {@literal Optional#empty()}, be aware that you controller methods will get {@literal null}

0 commit comments

Comments
 (0)