You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ol...@apache.org on 2003/05/22 20:26:33 UTC

cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient ConnectMethod.java

olegk       2003/05/22 11:26:33

  Modified:    httpclient/src/java/org/apache/commons/httpclient
                        ConnectMethod.java
  Log:
  Minor corrections in ConnectMethod class
  
  Contributed by Oleg Kalnichevski
  
  Revision  Changes    Path
  1.15      +6 -6      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/ConnectMethod.java
  
  Index: ConnectMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/ConnectMethod.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- ConnectMethod.java	28 Apr 2003 23:19:57 -0000	1.14
  +++ ConnectMethod.java	22 May 2003 18:26:33 -0000	1.15
  @@ -271,12 +271,12 @@
        * Returns <code>true</code> if the status code is anything other than
        * SC_OK, <code>false</code> otherwise.
        * 
  -     * @see HttpMethodBase#shouldCloseConnection()
  +     * @see HttpMethodBase#shouldCloseConnection(HttpConnection)
        * @see HttpStatus#SC_OK
        * 
        * @return <code>true</code> if the connection should be closed
        */
  -    protected boolean shouldCloseConnection() {
  +    protected boolean shouldCloseConnection(HttpConnection conn) {
           return (getStatusCode() != HttpStatus.SC_OK);
       }
       
  
  
  

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