diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/support/WebContentGenerator.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/support/WebContentGenerator.java index 86fa88c677aae78607fdb2a7d058443bad41d272..fda88191809f95e7444f92d4205b0b2188cb83e9 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/support/WebContentGenerator.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/support/WebContentGenerator.java @@ -38,11 +38,11 @@ import org.springframework.web.context.support.WebApplicationObjectSupport; * {@link org.springframework.web.servlet.HandlerAdapter}. * *

Supports HTTP cache control options. The usage of corresponding HTTP - * headers can be controlled via the {@link #setCacheSeconds "cacheSeconds" + * headers can be controlled via the {@link #setCacheSeconds "cacheSeconds"} * and {@link #setCacheControl "cacheControl"} properties. * *

NOTE: As of Spring 4.2, this generator's default behavior changed when - * using only {@link #setCacheSeconds)}, sending HTTP response headers that are in line + * using only {@link #setCacheSeconds}, sending HTTP response headers that are in line * with current browsers and proxies implementations (i.e. no HTTP 1.0 headers anymore) * Reverting to the previous behavior can be easily done by using one of the newly * deprecated methods {@link #setUseExpiresHeader}, {@link #setUseCacheControlHeader},