tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1705941 - /tomcat/trunk/java/org/apache/coyote/AbstractProcessor.java
Date Tue, 29 Sep 2015 22:15:00 GMT
Author: markt
Date: Tue Sep 29 22:14:59 2015
New Revision: 1705941

URL: http://svn.apache.org/viewvc?rev=1705941&view=rev
Log:
Remove unused / unnecessary code

Modified:
    tomcat/trunk/java/org/apache/coyote/AbstractProcessor.java

Modified: tomcat/trunk/java/org/apache/coyote/AbstractProcessor.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/AbstractProcessor.java?rev=1705941&r1=1705940&r2=1705941&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/AbstractProcessor.java (original)
+++ tomcat/trunk/java/org/apache/coyote/AbstractProcessor.java Tue Sep 29 22:14:59 2015
@@ -54,18 +54,6 @@ public abstract class AbstractProcessor
 
 
     /**
-     * Intended for use by the Upgrade sub-classes that have no need to
-     * initialise the request, response, etc.
-     */
-    protected AbstractProcessor() {
-        asyncStateMachine = null;
-        endpoint = null;
-        request = null;
-        response = null;
-    }
-
-
-    /**
      * Used by HTTP/2.
      *
      * @param coyoteRequest
@@ -198,7 +186,7 @@ public abstract class AbstractProcessor
 
     @Override
     public boolean isAsync() {
-        return (asyncStateMachine != null && asyncStateMachine.isAsync());
+        return asyncStateMachine.isAsync();
     }
 
 



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


Mime
View raw message