Fix line-endings
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc5.5.x/trunk@1297914 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/container/catalina/src/share/org/apache/catalina/filters/SetCharacterEncodingFilter.java b/container/catalina/src/share/org/apache/catalina/filters/SetCharacterEncodingFilter.java
index ea8643c..2b96575 100644
--- a/container/catalina/src/share/org/apache/catalina/filters/SetCharacterEncodingFilter.java
+++ b/container/catalina/src/share/org/apache/catalina/filters/SetCharacterEncodingFilter.java
@@ -19,6 +19,7 @@
import java.io.IOException;
import java.util.Enumeration;
+import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
@@ -55,7 +56,7 @@
* and <code>User-Agent</code> headers, or a value stashed in the current
* user's session.</p>
*/
-public class SetCharacterEncodingFilter {
+public class SetCharacterEncodingFilter implements Filter {
private static final Log log =
LogFactory.getLog(SetCharacterEncodingFilter.class);
@@ -105,6 +106,11 @@
}
}
+ public void destroy() {
+ // NOOP
+ }
+
+
/**
* Select and set (if specified) the character encoding to be used to
* interpret request parameters for this request.