click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From med...@apache.org
Subject svn commit: r782237 - /incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionResponseStream.java
Date Sat, 06 Jun 2009 11:45:11 GMT
Author: medgar
Date: Sat Jun  6 11:45:11 2009
New Revision: 782237

URL: http://svn.apache.org/viewvc?rev=782237&view=rev
Log:
checkstyle update

Modified:
    incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionResponseStream.java

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionResponseStream.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionResponseStream.java?rev=782237&r1=782236&r2=782237&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionResponseStream.java
(original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionResponseStream.java
Sat Jun  6 11:45:11 2009
@@ -297,11 +297,12 @@
                         + " output stream");
                 }
                 gzipstream = output;
-            }
-            else if (setContentEncodingGZip()) {
+
+            } else if (setContentEncodingGZip()) {
                 // If we can set the Content-Encoding header to gzip, create a
                 // new gzip stream
                 gzipstream = new GZIPOutputStream(response.getOutputStream());
+
             } else {
                 // If we cannot set the Content-Encoding header, use original
                 // output stream



Mime
View raw message