Skip to content

Improve @RequestParam defaultValue's value JavaDoc [SPR-9967] #14601

@spring-projects-issues

Description

@spring-projects-issues

Michael Osipov opened SPR-9967 and commented

The JavaDocs shows
Default:
"\n\t\t\n\t\t\n\ue000\ue001\ue002\n\t\t\t\t\n"

which seems to be a bug in the first place but if you open up the source code you see ValueConstants.DEFAULT_NONE. This static final value has a decent comment. Please link this to the annotation. It caused confusion in my case and probably in others.


Affects: 3.1.3

Referenced from: commits 26326fb

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions