commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject commons-compress git commit: actually use 4MB when you say 4MB
Date Wed, 05 Apr 2017 19:49:52 GMT
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 <bodewig@apache.org>
Authored: Wed Apr 5 21:49:21 2017 +0200
Committer: Stefan Bodewig <bodewig@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) {


Mime
View raw message