From f30abe716d05770094c93ae7a9458e3108970861 Mon Sep 17 00:00:00 2001 From: hgjd <34911272+hgjd@users.noreply.github.com> Date: Wed, 16 Feb 2022 16:15:52 +0100 Subject: [PATCH] Fix typo in documentation --- .../web/PageableHandlerMethodArgumentResolverSupport.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolverSupport.java b/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolverSupport.java index 1bef083b7c..4465a29620 100644 --- a/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolverSupport.java +++ b/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolverSupport.java @@ -67,9 +67,9 @@ public abstract class PageableHandlerMethodArgumentResolverSupport { * {@link PageableDefault} (the latter only supported in legacy mode) can be found at the method parameter to be * resolved. *

- * If you set this to {@literal Optional#empty()}, be aware that you controller methods will get {@literal null} + * If you set this to {@literal Optional#empty()}, be aware that your controller methods will get {@literal null} * handed into them in case no {@link Pageable} data can be found in the request. Note, that doing so will require you - * supply bot the page and the size parameter with the requests as there will be no default for any of the + * to supply both the page and the size parameter with the requests as there will be no default for any of the * parameters available. * * @param fallbackPageable the {@link Pageable} to be used as general fallback.