commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1561024 - in /commons/proper/compress/trunk/src: changes/changes.xml main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
Date Fri, 24 Jan 2014 14:41:15 GMT
Author: bodewig
Date: Fri Jan 24 14:41:14 2014
New Revision: 1561024

URL: http://svn.apache.org/r1561024
Log:
COMPRESS-259 also honor decompressConcatenated when the format has been specified explicitly

Modified:
    commons/proper/compress/trunk/src/changes/changes.xml
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java

Modified: commons/proper/compress/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/changes/changes.xml?rev=1561024&r1=1561023&r2=1561024&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/changes/changes.xml (original)
+++ commons/proper/compress/trunk/src/changes/changes.xml Fri Jan 24 14:41:14 2014
@@ -53,6 +53,10 @@ The <action> type attribute can be add,u
         archives used LZMA compression for headers and content and
         certain non-default dictinary sizes.
       </action>
+      <action issue="COMPRESS-259" type="fix" date="2014-01-24">
+        CompressorStreamFactory.createCompressorInputStream with
+        explicit compression did not honor decompressConcatenated
+      </action>
     </release>
     <release version="1.7" date="2014-01-20"
              description="Release 1.7">

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java?rev=1561024&r1=1561023&r2=1561024&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
Fri Jan 24 14:41:14 2014
@@ -206,15 +206,15 @@ public class CompressorStreamFactory {
         try {
 
             if (GZIP.equalsIgnoreCase(name)) {
-                return new GzipCompressorInputStream(in);
+                return new GzipCompressorInputStream(in, decompressConcatenated);
             }
 
             if (BZIP2.equalsIgnoreCase(name)) {
-                return new BZip2CompressorInputStream(in);
+                return new BZip2CompressorInputStream(in, decompressConcatenated);
             }
 
             if (XZ.equalsIgnoreCase(name)) {
-                return new XZCompressorInputStream(in);
+                return new XZCompressorInputStream(in, decompressConcatenated);
             }
 
             if (LZMA.equalsIgnoreCase(name)) {



Mime
View raw message