tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r937324 - /tomcat/trunk/java/org/apache/catalina/core/ApplicationDispatcher.java
Date Fri, 23 Apr 2010 15:06:40 GMT
Author: markt
Date: Fri Apr 23 15:06:40 2010
New Revision: 937324

URL: http://svn.apache.org/viewvc?rev=937324&view=rev
Log:
Remove impossible tests ID'd by FindBugs

Modified:
    tomcat/trunk/java/org/apache/catalina/core/ApplicationDispatcher.java

Modified: tomcat/trunk/java/org/apache/catalina/core/ApplicationDispatcher.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/ApplicationDispatcher.java?rev=937324&r1=937323&r2=937324&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/core/ApplicationDispatcher.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/ApplicationDispatcher.java Fri Apr 23 15:06:40
2010
@@ -837,8 +837,6 @@ final class ApplicationDispatcher
                 break;
             if (current instanceof ApplicationRequest)
                 break;
-            if (current instanceof Request)
-                break;
             previous = current;
             current = ((ServletRequestWrapper) current).getRequest();
         }
@@ -900,8 +898,6 @@ final class ApplicationDispatcher
                 break;
             if (current instanceof ApplicationResponse)
                 break;
-            if (current instanceof Response)
-                break;
             previous = current;
             current = ((ServletResponseWrapper) current).getResponse();
         }



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


Mime
View raw message