commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r159637 - jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/methods/InputStreamRequestEntity.java
Date Thu, 31 Mar 2005 21:05:49 GMT
Author: olegk
Date: Thu Mar 31 13:05:48 2005
New Revision: 159637

URL: http://svn.apache.org/viewcvs?view=rev&rev=159637
Log:
Fixed broken #isRepeatable method

Contributed by Matthew-J Watson <matthew-j.watson at db.com>
Reviewed by Oleg Kalnichevski

Modified:
    jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/methods/InputStreamRequestEntity.java

Modified: jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/methods/InputStreamRequestEntity.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/methods/InputStreamRequestEntity.java?view=diff&r1=159636&r2=159637
==============================================================================
--- jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/methods/InputStreamRequestEntity.java
(original)
+++ jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/methods/InputStreamRequestEntity.java
Thu Mar 31 13:05:48 2005
@@ -158,7 +158,7 @@
      * @see #getContentLength()
      */
     public boolean isRepeatable() {
-        return content != null;
+        return buffer != null;
     }
 
     /* (non-Javadoc)



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message