tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1478036 - /tomcat/trunk/java/org/apache/coyote/http11/InternalNioOutputBuffer.java
Date Wed, 01 May 2013 14:56:36 GMT
Author: markt
Date: Wed May  1 14:56:35 2013
New Revision: 1478036

URL: http://svn.apache.org/r1478036
Log:
Make inner class static

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=1478036&r1=1478035&r2=1478036&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/InternalNioOutputBuffer.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/InternalNioOutputBuffer.java Wed May  1 14:56:35
2013
@@ -100,7 +100,7 @@ public class InternalNioOutputBuffer ext
      */
     protected final AtomicInteger lastWrite = new AtomicInteger(1);
 
-    protected class ByteBufferHolder {
+    protected static class ByteBufferHolder {
         private final ByteBuffer buf;
         private final AtomicBoolean flipped;
         public ByteBufferHolder(ByteBuffer buf, boolean flipped) {
@@ -302,7 +302,7 @@ public class InternalNioOutputBuffer ext
             //we must buffer as long as it fits
             //ByteBufferHolder tail = bufferedWrite.
             addToBuffers(buf, offset, length);
-    }
+        }
     }
 
     private void addToBuffers(byte[] buf, int offset, int length) {



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


Mime
View raw message