Skip to content

the defaut value mentionned for RepositoryRestConfiguration$getLimitParamName is incorrect [DATAREST-1145] #1508

Open
@spring-projects-issues

Description

@spring-projects-issues

Marc Tarin opened DATAREST-1145 and commented

The javadoc of org.springframework.data.rest.core.config.RepositoryRestConfiguration$getLimitParamName() states that ??Default is 'limit'?? which while consistent with limitParamName variable name, is false (limitParamName is initialized to 'page').

Beyond simply fixing the javadoc, I would also suggest, for the sake of consistency with pageParamName and sortParamName, that limitParamName should be renamed to sizeParamName (same goes for the getter and setter, obviously)


Affects: 2.5.11 (Hopper SR11), 2.6.7 (Ingalls SR7), 3.0 GA (Kay)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions