tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r829067 - in /tomcat/trunk/webapps/examples/WEB-INF/classes: chat/ChatServlet.java filters/SetCharacterEncodingFilter.java
Date Fri, 23 Oct 2009 14:00:37 GMT
Author: markt
Date: Fri Oct 23 14:00:36 2009
New Revision: 829067

URL: http://svn.apache.org/viewvc?rev=829067&view=rev
Log:
Clear the remaining Eclipse warnings in the examples

Modified:
    tomcat/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter.java

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java?rev=829067&r1=829066&r2=829067&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java Fri Oct 23 14:00:36
2009
@@ -106,7 +106,8 @@
         }
     }
 
-    protected void begin(CometEvent event, HttpServletRequest request, HttpServletResponse
response)
+    protected void begin(@SuppressWarnings("unused") CometEvent event,
+            HttpServletRequest request, HttpServletResponse response)
         throws IOException {
         log("Begin for session: " + request.getSession(true).getId());
         

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter.java?rev=829067&r1=829066&r2=829067&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter.java
(original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter.java
Fri Oct 23 14:00:36 2009
@@ -161,7 +161,8 @@
      *
      * @param request The servlet request we are processing
      */
-    protected String selectEncoding(ServletRequest request) {
+    protected String selectEncoding(
+            @SuppressWarnings("unused") ServletRequest request) {
 
         return (this.encoding);
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message