tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1727935 - /tomcat/trunk/java/org/apache/tomcat/util/net/SocketBufferHandler.java
Date Mon, 01 Feb 2016 13:38:27 GMT
Author: markt
Date: Mon Feb  1 13:38:27 2016
New Revision: 1727935

URL: http://svn.apache.org/viewvc?rev=1727935&view=rev
Log:
Remove unnecessary method calls

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/net/SocketBufferHandler.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/SocketBufferHandler.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/SocketBufferHandler.java?rev=1727935&r1=1727934&r2=1727935&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/SocketBufferHandler.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/SocketBufferHandler.java Mon Feb  1 13:38:27
2016
@@ -63,8 +63,6 @@ public class SocketBufferHandler {
                     readBuffer.clear();
                 } else {
                     readBuffer.compact();
-                    readBuffer.position(remaining);
-                    readBuffer.limit(readBuffer.capacity());
                 }
             } else {
                 // Switching to read



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


Mime
View raw message