Rename HeaderWriter loop variable

This commit is contained in:
Alex Baxanean 2016-01-27 12:27:18 -08:00 committed by Rob Winch
parent 6cbb1dc881
commit a1c4c2039b
1 changed files with 2 additions and 2 deletions
web/src/main/java/org/springframework/security/web/header

View File

@ -58,8 +58,8 @@ public class HeaderWriterFilter extends OncePerRequestFilter {
HttpServletResponse response, FilterChain filterChain) HttpServletResponse response, FilterChain filterChain)
throws ServletException, IOException { throws ServletException, IOException {
for (HeaderWriter factory : headerWriters) { for (HeaderWriter headerWriter : headerWriters) {
factory.writeHeaders(request, response); headerWriter.writeHeaders(request, response);
} }
filterChain.doFilter(request, response); filterChain.doFilter(request, response);
} }