Rename
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 23 Aug 2011 16:17:20 +0000 (16:17 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 23 Aug 2011 16:17:20 +0000 (16:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1160772 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/coyote/ajp/AbstractAjpProcessor.java

index 6adf576..cea6b22 100644 (file)
@@ -220,9 +220,9 @@ public abstract class AbstractAjpProcessor<S> extends AbstractProcessor<S> {
 
 
     /**
-     * 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 AbstractAjpProcessor<S> extends AbstractProcessor<S> {
         request.recycle();
         response.recycle();
         certificates.recycle();
-        byteCount = 0;
+        bytesWritten = 0;
     }
 
 
@@ -1079,13 +1079,13 @@ public abstract class AbstractAjpProcessor<S> extends AbstractProcessor<S> {
                 off += thisTime;
             }
 
-            byteCount += chunk.getLength();
+            bytesWritten += chunk.getLength();
             return chunk.getLength();
         }
 
         @Override
         public long getBytesWritten() {
-            return byteCount;
+            return bytesWritten;
         }
     }
 }