hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1493745 - /httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/LengthDelimitedEncoder.java
Date Mon, 17 Jun 2013 12:47:26 GMT
Author: sebb
Date: Mon Jun 17 12:47:26 2013
New Revision: 1493745

URL: http://svn.apache.org/r1493745
Log:
Document field which should be private

Modified:
    httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/LengthDelimitedEncoder.java

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/LengthDelimitedEncoder.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/LengthDelimitedEncoder.java?rev=1493745&r1=1493744&r2=1493745&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/LengthDelimitedEncoder.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/LengthDelimitedEncoder.java
Mon Jun 17 12:47:26 2013
@@ -138,7 +138,7 @@ public class LengthDelimitedEncoder exte
             }
         }
         if (this.remaining <= 0) {
-            this.completed = true;
+            this.completed = true; // == super.complete()
         }
         return total;
     }
@@ -165,7 +165,7 @@ public class LengthDelimitedEncoder exte
         }
         this.remaining -= bytesWritten;
         if (this.remaining <= 0) {
-            this.completed = true;
+            this.completed = true; // == super.complete()
         }
         return bytesWritten;
     }



Mime
View raw message