commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [commons-compress] garydgregory commented on a change in pull request #82: Made some variable names more consistent with the other parts.
Date Mon, 21 Oct 2019 12:57:51 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message