tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1748676 - /tomcat/trunk/java/org/apache/catalina/connector/Request.java
Date Thu, 16 Jun 2016 10:02:29 GMT
Author: markt
Date: Thu Jun 16 10:02:29 2016
New Revision: 1748676

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

Modified:
    tomcat/trunk/java/org/apache/catalina/connector/Request.java

Modified: tomcat/trunk/java/org/apache/catalina/connector/Request.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/Request.java?rev=1748676&r1=1748675&r2=1748676&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/connector/Request.java (original)
+++ tomcat/trunk/java/org/apache/catalina/connector/Request.java Thu Jun 16 10:02:29 2016
@@ -2629,17 +2629,10 @@ public class Request implements HttpServ
         return parametersParsed;
     }
 
-    /**
-     * @return <code>true</code> if bytes are available.
-     */
-    public boolean getAvailable() {
-        return (inputBuffer.available() > 0);
-    }
-
 
     /**
-     * @return <code>true</code> if an attempt has been made to read the request
body and all
-     * of the request body has been read
+     * @return <code>true</code> if an attempt has been made to read the request
+     *         body and all of the request body has been read.
      */
     public boolean isFinished() {
         return coyoteRequest.isFinished();



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


Mime
View raw message