From 337a7ed35e0bf9ad1ba442ab2cd701dcb48c22a0 Mon Sep 17 00:00:00 2001 From: Simon Olofsson Date: Fri, 15 Apr 2016 15:56:58 +0200 Subject: [PATCH] Fix HeaderWriterFilter Javadoc Fixes the formatting and spelling in HeaderWriterFilter Javadoc Issue gh-3813 --- .../security/web/header/HeaderWriterFilter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/main/java/org/springframework/security/web/header/HeaderWriterFilter.java b/web/src/main/java/org/springframework/security/web/header/HeaderWriterFilter.java index c78710d416..d963c79748 100644 --- a/web/src/main/java/org/springframework/security/web/header/HeaderWriterFilter.java +++ b/web/src/main/java/org/springframework/security/web/header/HeaderWriterFilter.java @@ -28,7 +28,7 @@ import org.springframework.util.Assert; import org.springframework.web.filter.OncePerRequestFilter; /** - * Filter implementation to add headers to the current request. Can be useful to add + * Filter implementation to add headers to the current response. Can be useful to add * certain headers which enable browser protection. Like X-Frame-Options, X-XSS-Protection * and X-Content-Type-Options. * @@ -40,7 +40,7 @@ public class HeaderWriterFilter extends OncePerRequestFilter { /** * Collection of {@link HeaderWriter} instances to write out the headers to the - * response . + * response. */ private final List headerWriters;