fixed typos
This commit is contained in:
parent
a7f0d50643
commit
c399cb1b27
|
|
@ -23,9 +23,10 @@ import java.lang.annotation.RetentionPolicy;
|
||||||
import java.lang.annotation.Target;
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Annotation which indicates that a method parameter should be bound to a web request parameter.
|
* Annotation which indicates that a method parameter should be bound to a web
|
||||||
* Supported for annotated handler methods in Servlet and Portlet environments.
|
* request parameter. Supported for annotated handler methods in Servlet and
|
||||||
*
|
* Portlet environments.
|
||||||
|
*
|
||||||
* @author Arjen Poutsma
|
* @author Arjen Poutsma
|
||||||
* @author Juergen Hoeller
|
* @author Juergen Hoeller
|
||||||
* @since 2.5
|
* @since 2.5
|
||||||
|
|
@ -51,12 +52,12 @@ public @interface RequestParam {
|
||||||
* of the parameter missing in the request. Switch this to <code>false</code>
|
* of the parameter missing in the request. Switch this to <code>false</code>
|
||||||
* if you prefer a <code>null</value> in case of the parameter missing.
|
* if you prefer a <code>null</value> in case of the parameter missing.
|
||||||
* <p>Alternatively, provide a {@link #defaultValue() defaultValue},
|
* <p>Alternatively, provide a {@link #defaultValue() defaultValue},
|
||||||
* which implicitely sets this flag to <code>false</code>.
|
* which implicitly sets this flag to <code>false</code>.
|
||||||
*/
|
*/
|
||||||
boolean required() default true;
|
boolean required() default true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The default value to use as a fallback. Supplying a default value implicitely
|
* The default value to use as a fallback. Supplying a default value implicitly
|
||||||
* sets {@link #required()} to false.
|
* sets {@link #required()} to false.
|
||||||
*/
|
*/
|
||||||
String defaultValue() default "";
|
String defaultValue() default "";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue