Skip to content

Commit 3abe05c

Browse files
committed
Update @RequestParam javadoc
Issue: SPR-10180
1 parent 33e723b commit 3abe05c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spring-web/src/main/java/org/springframework/web/bind/annotation/RequestParam.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@
6868
boolean required() default true;
6969

7070
/**
71-
* The default value to use as a fallback. Supplying a default value implicitly
72-
* sets {@link #required()} to false.
71+
* The default value to use as a fallback when the request parameter value
72+
* is not provided or empty. Supplying a default value implicitly sets
73+
* {@link #required()} to false.
7374
*/
7475
String defaultValue() default ValueConstants.DEFAULT_NONE;
7576

0 commit comments

Comments
 (0)