commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mbe...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient HttpConnection.java
Date Thu, 01 May 2003 01:25:28 GMT
mbecke      2003/04/30 18:25:28

  Modified:    httpclient/src/java/org/apache/commons/httpclient
                        HttpConnection.java
  Log:
  Made the method isStale() and the variable isOpen() protected.
  PR: 19286
  
  Revision  Changes    Path
  1.61      +6 -6      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.60
  retrieving revision 1.61
  diff -u -r1.60 -r1.61
  --- HttpConnection.java	27 Apr 2003 19:43:41 -0000	1.60
  +++ HttpConnection.java	1 May 2003 01:25:28 -0000	1.61
  @@ -479,7 +479,7 @@
        * @return <tt>true</tt> if the connection is already closed, or a read
would
        * fail.
        */
  -    private boolean isStale() {
  +    protected boolean isStale() {
           boolean isStale = true;
           if (isOpen) {
               // the connection is open, but now we have to see if we can read it
  @@ -1330,7 +1330,7 @@
       private InputStream lastResponseInputStream = null;
       
       /** Whether or not I am connected. */
  -    private boolean isOpen = false;
  +    protected boolean isOpen = false;
       
       /** the protocol being used */
       private Protocol protocolInUse;
  
  
  

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