Fix HeaderWriterFilter Javadoc

Fixes the formatting and spelling in HeaderWriterFilter Javadoc

Issue gh-3813
This commit is contained in:
Simon Olofsson 2016-04-15 15:56:58 +02:00 committed by Rob Winch
parent cad81d0e18
commit 337a7ed35e

View File

@ -28,7 +28,7 @@ import org.springframework.util.Assert;
import org.springframework.web.filter.OncePerRequestFilter; 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 * certain headers which enable browser protection. Like X-Frame-Options, X-XSS-Protection
* and X-Content-Type-Options. * 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 * Collection of {@link HeaderWriter} instances to write out the headers to the
* response . * response.
*/ */
private final List<HeaderWriter> headerWriters; private final List<HeaderWriter> headerWriters;