commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject [1/3] commons-compress git commit: COMPRESS-271 correctly set inUncompressed
Date Mon, 23 Jan 2017 07:48:36 GMT
Repository: commons-compress
Updated Branches:
  refs/heads/master 9e7941135 -> 226489c0f


COMPRESS-271 correctly set inUncompressed

I don't understand why the readBla... tests have passed before, makes
me doubt the tests


Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/06d76190
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/06d76190
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/06d76190

Branch: refs/heads/master
Commit: 06d761908b2567f292be102de36f88e230e5ffed
Parents: 9e79411
Author: Stefan Bodewig <bodewig@apache.org>
Authored: Mon Jan 23 08:44:46 2017 +0100
Committer: Stefan Bodewig <bodewig@apache.org>
Committed: Mon Jan 23 08:44:46 2017 +0100

----------------------------------------------------------------------
 .../compress/compressors/lz4/FramedLZ4CompressorInputStream.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/06d76190/src/main/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorInputStream.java
b/src/main/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorInputStream.java
index 8238a38..90d2da4 100644
--- a/src/main/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorInputStream.java
+++ b/src/main/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorInputStream.java
@@ -176,7 +176,7 @@ public class FramedLZ4CompressorInputStream extends CompressorInputStream
{
             inUncompressed = true;
             currentBlock = capped;
         } else {
-            inUncompressed = true;
+            inUncompressed = false;
             currentBlock = new BlockLZ4CompressorInputStream(capped);
         }
     }


Mime
View raw message