tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1477275 - in /tomcat/trunk/java/org/apache/coyote: ActionCode.java http11/Http11NioProcessor.java
Date Mon, 29 Apr 2013 19:15:48 GMT
Author: markt
Date: Mon Apr 29 19:15:47 2013
New Revision: 1477275

URL: http://svn.apache.org/r1477275
Log:
Remove unused ActionCode

Modified:
    tomcat/trunk/java/org/apache/coyote/ActionCode.java
    tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java

Modified: tomcat/trunk/java/org/apache/coyote/ActionCode.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/ActionCode.java?rev=1477275&r1=1477274&r2=1477275&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/ActionCode.java (original)
+++ tomcat/trunk/java/org/apache/coyote/ActionCode.java Mon Apr 29 19:15:47 2013
@@ -137,13 +137,6 @@ public enum ActionCode {
     ASYNC_DISPATCH,
 
     /**
-     * Callback when an async call is
-     * {@link javax.servlet.ReadListener#onDataAvailable()} or
-     * {@link javax.servlet.WriteListener#onWritePossible()}
-     */
-    ASYNC_DISPATCH_FOR_OPERATION,
-
-    /**
      * Callback to indicate the the actual dispatch has started and that the
      * async state needs change.
      */

Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java?rev=1477275&r1=1477274&r2=1477275&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java Mon Apr 29 19:15:47
2013
@@ -633,8 +633,6 @@ public class Http11NioProcessor extends 
             } else {
                 throw new IllegalStateException("Calling canWrite asynchronously is illegal.");
             }
-        } else if (actionCode == ActionCode.ASYNC_DISPATCH_FOR_OPERATION) {
-            asyncStateMachine.asyncOperation();
         }
     }
 



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


Mime
View raw message