Skip to content

Commit 9bf7ad9

Browse files
committed
[maven-release-plugin] copy for tag cachefilter-2.0
2 parents f0af548 + 7ac4fbc commit 9bf7ad9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/samaxes/filter/NoETagFilter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ public void init(FilterConfig filterConfig) throws ServletException {
5555
* @param servletResponse assists a servlet in sending a response to the client
5656
* @param filterChain gives a view into the invocation chain of a filtered request
5757
*/
58-
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException,
59-
ServletException {
60-
chain.doFilter(request, new HttpServletResponseWrapper((HttpServletResponse) response) {
58+
public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain)
59+
throws IOException, ServletException {
60+
filterChain.doFilter(servletRequest, new HttpServletResponseWrapper((HttpServletResponse) servletResponse) {
6161
public void setHeader(String name, String value) {
6262
if (!HTTPCacheHeader.ETAG.getName().equalsIgnoreCase(name)) {
6363
super.setHeader(name, value);

0 commit comments

Comments
 (0)