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 HttpConnection.java MultiThreadedHttpConnectionManager.java
Date Wed, 26 Feb 2003 15:08:28 GMT
olegk       2003/02/26 07:08:27

  Modified:    httpclient/src/java/org/apache/commons/httpclient
                        HttpConnection.java
                        MultiThreadedHttpConnectionManager.java
  Log:
  Typo in HttpConnection method name corrected
  
  Contributed by Oleg Kalnichevski
  
  Revision  Changes    Path
  1.46      +6 -7      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpConnection.java
  
  Index: HttpConnection.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpConnection.java,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- HttpConnection.java	16 Feb 2003 13:08:32 -0000	1.45
  +++ HttpConnection.java	26 Feb 2003 15:08:27 -0000	1.46
  @@ -664,9 +664,8 @@
        * @throws IOException If an IO problem occurs
        * @throws IllegalStateException If the connection isn't open.
        */
  -    public boolean isResponseAvaliable() 
  +    public boolean isResponseAvailable() 
           throws IOException {
  -        LOG.trace("enter HttpConnection.responseAvaliable()");
           assertOpen();
           return this.inputStream.available() > 0;
       }
  @@ -691,7 +690,7 @@
           }
           long overtime = System.currentTimeMillis() + timeout_ms;
           while (System.currentTimeMillis() < overtime) {
  -            if (isResponseAvaliable()) {
  +            if (isResponseAvailable()) {
                   return true;
               }
           }
  
  
  
  1.11      +5 -5      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/MultiThreadedHttpConnectionManager.java
  
  Index: MultiThreadedHttpConnectionManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/MultiThreadedHttpConnectionManager.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- MultiThreadedHttpConnectionManager.java	20 Feb 2003 03:14:01 -0000	1.10
  +++ MultiThreadedHttpConnectionManager.java	26 Feb 2003 15:08:27 -0000	1.11
  @@ -623,9 +623,9 @@
               }
           }
   
  -        public boolean isResponseAvaliable() throws IOException {
  +        public boolean isResponseAvailable() throws IOException {
               if (hasConnection()) {
  -                return  wrappedConnection.isResponseAvaliable();
  +                return  wrappedConnection.isResponseAvailable();
               } else {
                   return false;
               }
  
  
  

---------------------------------------------------------------------
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