garydgregory commented on a change in pull request #82: Made some variable 
names more consistent with the other parts.
URL: https://github.com/apache/commons-compress/pull/82#discussion_r337001169
 
 

 ##########
 File path: 
src/main/java/org/apache/commons/compress/archivers/zip/StreamCompressor.java
 ##########
 @@ -259,9 +259,9 @@ private void deflateUntilInputIsNeeded() throws 
IOException {
     }
 
     void deflate() throws IOException {
-        final int len = def.deflate(outputBuffer, 0, outputBuffer.length);
-        if (len > 0) {
-            writeCounted(outputBuffer, 0, len);
+        final int length = def.deflate(outputBuffer, 0, outputBuffer.length);
 
 Review comment:
   +1

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to