From 52ad49b3ae538ebc0ac10993abd317fb71217a48 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Wed, 14 Oct 2009 10:48:00 +0000 Subject: [PATCH] fixed typo and JavaDoc polishing. --- .../springframework/web/bind/annotation/CookieValue.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/org.springframework.web/src/main/java/org/springframework/web/bind/annotation/CookieValue.java b/org.springframework.web/src/main/java/org/springframework/web/bind/annotation/CookieValue.java index 8d4ce6f319..5e476fe415 100644 --- a/org.springframework.web/src/main/java/org/springframework/web/bind/annotation/CookieValue.java +++ b/org.springframework.web/src/main/java/org/springframework/web/bind/annotation/CookieValue.java @@ -50,16 +50,17 @@ public @interface CookieValue { /** * Whether the header is required. - *

Default is true, leading to an exception thrown in case - * of the header missing in the request. Switch this to false - * if you prefer a null in case of the header missing. + *

Default is true, leading to an exception being thrown + * in case the header is missing in the request. Switch this to + * false if you prefer a null in case of the + * missing header. *

Alternatively, provide a {@link #defaultValue() defaultValue}, * which implicitly sets this flag to false. */ 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. */ String defaultValue() default "";