You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by bo...@apache.org on 2017/04/05 19:49:52 UTC
commons-compress git commit: actually use 4MB when you say 4MB
Repository: commons-compress
Updated Branches:
refs/heads/master f7e0a4a02 -> 3381e41ab
actually use 4MB when you say 4MB
Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/3381e41a
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/3381e41a
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/3381e41a
Branch: refs/heads/master
Commit: 3381e41abe04ae99f984f3d2d63f201e5ee6f808
Parents: f7e0a4a
Author: Stefan Bodewig <bo...@apache.org>
Authored: Wed Apr 5 21:49:21 2017 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Wed Apr 5 21:49:21 2017 +0200
----------------------------------------------------------------------
.../compress/compressors/lz4/FramedLZ4CompressorOutputStream.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/3381e41a/src/main/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorOutputStream.java b/src/main/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorOutputStream.java
index 51e4a2a..68ebc13 100644
--- a/src/main/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorOutputStream.java
+++ b/src/main/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorOutputStream.java
@@ -67,7 +67,7 @@ public class FramedLZ4CompressorOutputStream extends CompressorOutputStream {
/** Block size of 1M */
M1(1024 * 1024, 6),
/** Block size of 4M */
- M4(1024 * 1024, 7);
+ M4(4096 * 1024, 7);
private final int size, index;
private BlockSize(int size, int index) {