remm        01/07/22 12:28:33

  Modified:    httpclient/src/java/org/apache/commons/httpclient State.java
  Log:
  - Remove leftover WebDAV specific code.
  
  Revision  Changes    Path
  1.2       +2 -69     
jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/State.java
  
  Index: State.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/State.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- State.java        2001/04/25 18:42:52     1.1
  +++ State.java        2001/07/22 19:28:33     1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/State.java,v
 1.1 2001/04/25 18:42:52 remm Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/04/25 18:42:52 $
  + * $Header: 
/home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/State.java,v
 1.2 2001/07/22 19:28:33 remm Exp $
  + * $Revision: 1.2 $
  + * $Date: 2001/07/22 19:28:33 $
    *
    * ====================================================================
    *
  @@ -80,12 +80,6 @@
       
       
       /**
  -     * Lock tokens.
  -     */
  -    protected Hashtable lockTokens = new Hashtable();
  -    
  -    
  -    /**
        * Authenticate token.
        */
       protected String authenticateToken = null;
  @@ -158,67 +152,6 @@
       // FIXME: this breaks encapsulation on the cookie vector
       public Vector getCookies() {
           return cookies;
  -    }
  -    
  -    
  -    /**
  -     * Add a lock token.
  -     * 
  -     * @param uri Uri
  -     * @param value Lock token value
  -     */
  -    public void addLock(String uri, String value) {
  -        
  -        Vector currentLocks = (Vector) lockTokens.get(uri);
  -        if (currentLocks == null)
  -            currentLocks = new Vector();
  -        currentLocks.addElement(value);
  -        lockTokens.put(uri, currentLocks);
  -        
  -    }
  -    
  -    
  -    /**
  -     * Remove a lock.
  -     * 
  -     * @param uri Uri
  -     * @param value LockToken value
  -     */
  -    public void removeLock(String uri, String value) {
  -        
  -        Vector currentLocks = (Vector) lockTokens.get(uri);
  -        if (currentLocks == null)
  -            return;
  -        currentLocks.removeElement(value);
  -        
  -    }
  -    
  -    
  -    /**
  -     * Remove locks.
  -     * 
  -     * @param uri Uri
  -     */
  -    public void removeLocks(String uri) {
  -        
  -        lockTokens.remove(uri);
  -        
  -    }
  -    
  -    
  -    /**
  -     * Get locks
  -     * 
  -     * @param uri Uri
  -     * @return Enumeration of lock tokens
  -     */
  -    public Enumeration getLocks(String uri) {
  -        
  -        Vector result = (Vector) lockTokens.get(uri);
  -        if (result == null)
  -            result = new Vector();
  -        return result.elements();
  -        
       }
       
       
  
  
  

Reply via email to