cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r807807 - /cxf/trunk/api/src/main/java/org/apache/cxf/io/AbstractThresholdOutputStream.java
Date Tue, 25 Aug 2009 21:19:56 GMT
Author: dkulp
Date: Tue Aug 25 21:19:56 2009
New Revision: 807807

URL: http://svn.apache.org/viewvc?rev=807807&view=rev
Log:
Fix issue of threshold of 0 not forcing gzip

Modified:
    cxf/trunk/api/src/main/java/org/apache/cxf/io/AbstractThresholdOutputStream.java

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/io/AbstractThresholdOutputStream.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/io/AbstractThresholdOutputStream.java?rev=807807&r1=807806&r2=807807&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/io/AbstractThresholdOutputStream.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/io/AbstractThresholdOutputStream.java Tue Aug
25 21:19:56 2009
@@ -37,7 +37,7 @@
     
     public AbstractThresholdOutputStream(int threshold) {
         this.threshold = threshold;
-        if (threshold > 0) {
+        if (threshold >= 0) {
             buffer = new LoadingByteArrayOutputStream(threshold + 1);
         }
     }



Mime
View raw message