瀏覽代碼

Fix HeaderWriterFilter Javadoc

Fixes the formatting and spelling in HeaderWriterFilter Javadoc

Issue gh-3813
Simon Olofsson 9 年之前
父節點
當前提交
337a7ed35e
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      web/src/main/java/org/springframework/security/web/header/HeaderWriterFilter.java

+ 2 - 2
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<HeaderWriter> headerWriters;