fixed typos

This commit is contained in:
Sam Brannen 2009-10-19 18:23:51 +00:00
parent a7f0d50643
commit c399cb1b27
1 changed files with 6 additions and 5 deletions

View File

@ -23,8 +23,9 @@ 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
@ -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 "";