accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phrocker <...@git.apache.org>
Subject [GitHub] accumulo pull request #140: ACCUMULO-4419: Change how compression delegation...
Date Mon, 22 Aug 2016 16:59:33 GMT
Github user phrocker commented on a diff in the pull request:

    https://github.com/apache/accumulo/pull/140#discussion_r75715837
  
    --- Diff: core/src/main/java/org/apache/accumulo/core/file/rfile/bcfile/Compression.java
---
    @@ -420,7 +439,7 @@ public InputStream createDecompressionStream(InputStream downStream,
Decompresso
             }
     
             CompressionInputStream cis = decomCodec.createInputStream(downStream, decompressor);
    -        BufferedInputStream bis2 = new BufferedInputStream(cis, DATA_IBUF_SIZE);
    +        BufferedInputStream bis2 = new BufferedInputStream(cis, dataInputBufferSize ==
0 ? downStreamBufferSize : dataInputBufferSize);
    --- End diff --
    
    I'm going to move the conditional to separate lines to improve readability


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message