commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient ConnectMethod.java
Date Thu, 22 May 2003 18:26:33 GMT
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


Mime
View raw message