tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1160772 - /tomcat/trunk/java/org/apache/coyote/ajp/AbstractAjpProcessor.java
Date Tue, 23 Aug 2011 16:17:20 GMT
Author: markt
Date: Tue Aug 23 16:17:20 2011
New Revision: 1160772

URL: http://svn.apache.org/viewvc?rev=1160772&view=rev
Log:
Rename

Modified:
    tomcat/trunk/java/org/apache/coyote/ajp/AbstractAjpProcessor.java

Modified: tomcat/trunk/java/org/apache/coyote/ajp/AbstractAjpProcessor.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/ajp/AbstractAjpProcessor.java?rev=1160772&r1=1160771&r2=1160772&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/ajp/AbstractAjpProcessor.java (original)
+++ tomcat/trunk/java/org/apache/coyote/ajp/AbstractAjpProcessor.java Tue Aug 23 16:17:20
2011
@@ -220,9 +220,9 @@ public abstract class AbstractAjpProcess
 
 
     /**
-     * Bytes written to client for the current request
+     * Bytes written to client for the current request.
      */
-    protected long byteCount = 0;
+    protected long bytesWritten = 0;
 
 
     // ------------------------------------------------------------ Constructor
@@ -529,7 +529,7 @@ public abstract class AbstractAjpProcess
         request.recycle();
         response.recycle();
         certificates.recycle();
-        byteCount = 0;
+        bytesWritten = 0;
     }
 
 
@@ -1079,13 +1079,13 @@ public abstract class AbstractAjpProcess
                 off += thisTime;
             }
 
-            byteCount += chunk.getLength();
+            bytesWritten += chunk.getLength();
             return chunk.getLength();
         }
 
         @Override
         public long getBytesWritten() {
-            return byteCount;
+            return bytesWritten;
         }
     }
 }



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


Mime
View raw message