axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/handlers BasicHandler.java
Date Fri, 09 Nov 2001 23:17:47 GMT
gdaniels    01/11/09 15:17:47

  Modified:    java/src/org/apache/axis Handler.java
               java/src/org/apache/axis/handlers BasicHandler.java
  Log:
  Be a little friendlier about that last change, just in case anyone's still
  using addOption in a bunch of places.  Deprecate it and delegate to the
  new method in BasicHandler.
  
  Revision  Changes    Path
  1.23      +7 -0      xml-axis/java/src/org/apache/axis/Handler.java
  
  Index: Handler.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/Handler.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- Handler.java	2001/11/09 23:13:01	1.22
  +++ Handler.java	2001/11/09 23:17:47	1.23
  @@ -104,6 +104,13 @@
        * Add the given option (name/value) to this handler's bag of options
        */
       public void setOption(String name, Object value);
  +    
  +    /**
  +     * Old version of setOption()
  +     * 
  +     * @deprecated replaced by setOption, to be more consistent
  +     */ 
  +    public void addOption(String name, Object value);
   
       /**
        * Returns the option corresponding to the 'name' given
  
  
  
  1.22      +9 -0      xml-axis/java/src/org/apache/axis/handlers/BasicHandler.java
  
  Index: BasicHandler.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/handlers/BasicHandler.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- BasicHandler.java	2001/11/09 23:13:01	1.21
  +++ BasicHandler.java	2001/11/09 23:17:47	1.22
  @@ -113,6 +113,15 @@
           if ( options == null ) options = new Hashtable();
           options.put( name, value );
       }
  +    
  +    /**
  +     * Old version of setOption()
  +     * 
  +     * @deprecated replaced by setOption, to be more consistent
  +     */ 
  +    public void addOption(String name, Object value) {
  +        setOption(name, value);
  +    }
   
       /**
        * Returns the option corresponding to the 'name' given
  
  
  

Mime
View raw message