commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1199805 - /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/xz/XZCompressorInputStream.java
Date Wed, 09 Nov 2011 15:43:47 GMT
Author: bodewig
Date: Wed Nov  9 15:43:47 2011
New Revision: 1199805

URL: http://svn.apache.org/viewvc?rev=1199805&view=rev
Log:
make XZInputStream default to not support concatenated streams to be consistent with bzip2
and soon gzip

Modified:
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/xz/XZCompressorInputStream.java

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/xz/XZCompressorInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/xz/XZCompressorInputStream.java?rev=1199805&r1=1199804&r2=1199805&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/xz/XZCompressorInputStream.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/xz/XZCompressorInputStream.java
Wed Nov  9 15:43:47 2011
@@ -53,7 +53,8 @@ public class XZCompressorInputStream ext
 
     /**
      * Creates a new input stream that decompresses XZ-compressed data
-     * from the specified input stream. This supports concatenated .xz files.
+     * from the specified input stream. This doesn't support
+     * concatenated .xz files.
      *
      * @param       inputStream where to read the compressed data
      *
@@ -65,7 +66,7 @@ public class XZCompressorInputStream ext
      */
     public XZCompressorInputStream(InputStream inputStream)
             throws IOException {
-        this(inputStream, true);
+        this(inputStream, false);
     }
 
     /**



Mime
View raw message