You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PageableDefaults was already removed with Spring Data 1.8. We also introduced Pageable.unpaged() with Spring Data 2.0 so the documentation doesn't sense anymore. Let me rewrite the documentation.
mp911de
changed the title
Clarify javadoc for PageableHandlerMethodArgumentResolverSupport#setFallbackPageable
Clarify javadoc for PageableHandlerMethodArgumentResolverSupport#setFallbackPageableFeb 17, 2022
The javadoc for the setFallbackPageable method of PageableHandlerMethodArgumentResolverSupport is unclear in two places.
in case no {@link PageableDefault} or {@link PageableDefault} (the latter only supported in legacy mode)
Both options are the same.
If you set this to {@literal Optional#empty()}
The method only accepts a non-null Pageable, so it is unclear how to set this toOptional.empty()
.Unfortunately I can't propose a fix, because it is not obvious to me what the originally intended message was.
The text was updated successfully, but these errors were encountered: