This is an automated email from the ASF dual-hosted git repository. andy pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/jena.git
The following commit(s) were added to refs/heads/main by this push: new 1d3a70e61b Set 'decompressConcatenated' to true which fixes issue of certain bzip2 files to only be read partially new 4b565d3a5c Merge pull request #1371 from Aklakan/bzip2-fix 1d3a70e61b is described below commit 1d3a70e61b80a83b8dfbdc02943bc3c0c26775f1 Author: Claus Stadler <ravenarka...@googlemail.com> AuthorDate: Fri Jun 10 13:49:04 2022 +0200 Set 'decompressConcatenated' to true which fixes issue of certain bzip2 files to only be read partially --- jena-base/src/main/java/org/apache/jena/atlas/io/IO.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jena-base/src/main/java/org/apache/jena/atlas/io/IO.java b/jena-base/src/main/java/org/apache/jena/atlas/io/IO.java index 031ab4793e..b0c97a512d 100644 --- a/jena-base/src/main/java/org/apache/jena/atlas/io/IO.java +++ b/jena-base/src/main/java/org/apache/jena/atlas/io/IO.java @@ -90,7 +90,7 @@ public class IO switch ( ext ) { case "": return in; case ext_gz: return new GZIPInputStream(in); - case ext_bz2: return new BZip2CompressorInputStream(in); + case ext_bz2: return new BZip2CompressorInputStream(in, true); case ext_sz: return new SnappyCompressorInputStream(in); } return in;