tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1478536 - /tomcat/trunk/java/org/apache/coyote/http11/InternalNioOutputBuffer.java
Date Thu, 02 May 2013 20:57:08 GMT
Author: markt
Date: Thu May  2 20:57:07 2013
New Revision: 1478536

URL: http://svn.apache.org/r1478536
Log:
Remove unused code

Modified:
    tomcat/trunk/java/org/apache/coyote/http11/InternalNioOutputBuffer.java

Modified: tomcat/trunk/java/org/apache/coyote/http11/InternalNioOutputBuffer.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/InternalNioOutputBuffer.java?rev=1478536&r1=1478535&r2=1478536&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/InternalNioOutputBuffer.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/InternalNioOutputBuffer.java Thu May  2 20:57:07
2013
@@ -24,7 +24,6 @@ import java.nio.channels.Selector;
 import java.util.Iterator;
 import java.util.concurrent.LinkedBlockingDeque;
 import java.util.concurrent.atomic.AtomicBoolean;
-import java.util.concurrent.atomic.AtomicInteger;
 
 import org.apache.coyote.OutputBuffer;
 import org.apache.coyote.Response;
@@ -95,11 +94,6 @@ public class InternalNioOutputBuffer ext
      */
     protected int bufferedWriteSize = 64*1024; //64k default write buffer
 
-    /**
-     * Number of bytes last written
-     */
-    protected final AtomicInteger lastWrite = new AtomicInteger(1);
-
     protected static class ByteBufferHolder {
         private final ByteBuffer buf;
         private final AtomicBoolean flipped;
@@ -156,7 +150,6 @@ public class InternalNioOutputBuffer ext
             socket.getBufHandler().getWriteBuffer().clear();
             socket = null;
         }
-        lastWrite.set(1);
         setBlocking(true);
         flipped = false;
     }



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


Mime
View raw message