hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r553861 - /jakarta/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientGZipContentCompression.java
Date Fri, 06 Jul 2007 12:23:40 GMT
Author: olegk
Date: Fri Jul  6 05:23:39 2007
New Revision: 553861

URL: http://svn.apache.org/viewvc?view=rev&rev=553861
Log:
Oopsie

Modified:
    jakarta/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientGZipContentCompression.java

Modified: jakarta/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientGZipContentCompression.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientGZipContentCompression.java?view=diff&rev=553861&r1=553860&r2=553861
==============================================================================
--- jakarta/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientGZipContentCompression.java
(original)
+++ jakarta/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientGZipContentCompression.java
Fri Jul  6 05:23:39 2007
@@ -109,11 +109,8 @@
         System.out.println(response.getStatusLine());
         System.out.println("----------------------------------------");
 
-        // Get hold of the response entity
         HttpEntity entity = response.getEntity();
         
-        // If the response does not enclose an entity, there is no need
-        // to bother about connection release
         if (entity != null) {
             String content = EntityUtils.toString(entity);
             System.out.println(content);



Mime
View raw message