hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r555207 - /jakarta/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientConnectionRelease.java
Date Wed, 11 Jul 2007 08:37:00 GMT
Author: olegk
Date: Wed Jul 11 01:36:59 2007
New Revision: 555207

URL: http://svn.apache.org/viewvc?view=rev&rev=555207
Log:
Removed superfluous method call and confusing comments

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

Modified: jakarta/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientConnectionRelease.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientConnectionRelease.java?view=diff&rev=555207&r1=555206&r2=555207
==============================================================================
--- jakarta/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientConnectionRelease.java
(original)
+++ jakarta/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientConnectionRelease.java
Wed Jul 11 01:36:59 2007
@@ -91,11 +91,6 @@
 
                 // Closing the input stream will trigger connection release
                 reader.close();
-                // Alternatively you may want to call this method when done 
-                // with the response entity to ensure the response content has
-                // been fully consumed. This will also trigger connection 
-                // release 
-                entity.consumeContent();
                 
             }
         }



Mime
View raw message