You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by se...@apache.org on 2013/06/17 14:47:26 UTC
svn commit: r1493745 -
/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/LengthDelimitedEncoder.java
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;
}