Skip to content

Clarify javadoc for PageableHandlerMethodArgumentResolverSupport#setFallbackPageable #2551

Closed
@hgjd

Description

@hgjd

The javadoc for the setFallbackPageable method of PageableHandlerMethodArgumentResolverSupport is unclear in two places.

  1. in case no {@link PageableDefault} or {@link PageableDefault} (the latter only supported in legacy mode)
    Both options are the same.
  2. If you set this to {@literal Optional#empty()} The method only accepts a non-null Pageable, so it is unclear how to set this to Optional.empty().

Unfortunately I can't propose a fix, because it is not obvious to me what the originally intended message was.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions