From 3abe05c65e40755e209971888e3d5e6ea38b2487 Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Fri, 1 Mar 2013 15:00:20 -0500 Subject: [PATCH] Update @RequestParam javadoc Issue: SPR-10180 --- .../springframework/web/bind/annotation/RequestParam.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/web/bind/annotation/RequestParam.java b/spring-web/src/main/java/org/springframework/web/bind/annotation/RequestParam.java index 43032ba598..b1395b4985 100644 --- a/spring-web/src/main/java/org/springframework/web/bind/annotation/RequestParam.java +++ b/spring-web/src/main/java/org/springframework/web/bind/annotation/RequestParam.java @@ -68,8 +68,9 @@ public @interface RequestParam { boolean required() default true; /** - * The default value to use as a fallback. Supplying a default value implicitly - * sets {@link #required()} to false. + * The default value to use as a fallback when the request parameter value + * is not provided or empty. Supplying a default value implicitly sets + * {@link #required()} to false. */ String defaultValue() default ValueConstants.DEFAULT_NONE;