You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by se...@apache.org on 2011/05/08 03:13:12 UTC
svn commit: r1100665 -
/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/HttpRequestExecutor.java
Author: sebb
Date: Sun May 8 01:13:12 2011
New Revision: 1100665
URL: http://svn.apache.org/viewvc?rev=1100665&view=rev
Log:
Replace deprecated method with the recommended alternative
Modified:
httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/HttpRequestExecutor.java
Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/HttpRequestExecutor.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/HttpRequestExecutor.java?rev=1100665&r1=1100664&r2=1100665&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/HttpRequestExecutor.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/HttpRequestExecutor.java Sun May 8 01:13:12 2011
@@ -313,7 +313,8 @@ public class HttpRequestExecutor {
* <p>
* This method does <i>not</i> read the response entity, if any.
* The connection over which content of the response entity is being
- * streamed from cannot be reused until {@link HttpEntity#consumeContent()}
+ * streamed from cannot be reused until
+ * {@link org.apache.http.util.EntityUtils#consume(HttpEntity)}
* has been invoked.
*
* @param response the response object to post-process