commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ebo...@apache.org
Subject svn commit: r1550726 - /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream.java
Date Fri, 13 Dec 2013 13:44:48 GMT
Author: ebourg
Date: Fri Dec 13 13:44:48 2013
New Revision: 1550726

URL: http://svn.apache.org/r1550726
Log:
Flush the underlying GZIPOutputStream when calling flush() on GzipCompressorOutputStream

Modified:
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream.java

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream.java?rev=1550726&r1=1550725&r2=1550726&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream.java
Fri Dec 13 13:44:48 2013
@@ -57,6 +57,16 @@ public class GzipCompressorOutputStream 
         out.write(b, from, length);
     }
 
+    /**
+     * {@inheritDoc}
+     * 
+     * @since 1.7
+     */
+    @Override
+    public void flush() throws IOException {
+        out.flush();
+    }
+
     @Override
     public void close() throws IOException {
         out.close();



Mime
View raw message