[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    svn commit: r159637 -
From:       olegk () apache ! org
Date:       2005-03-31 21:05:49
Message-ID: 20050331210550.59893.qmail () minotaur ! apache ! org
[Download RAW message or body]

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/or \
g/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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic