You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by dm...@apache.org on 2002/05/09 01:19:09 UTC

cvs commit: jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/servlet KeywordVariables.java

dmitri      02/05/08 16:19:09

  Modified:    jxpath/src/java/org/apache/commons/jxpath/servlet
                        KeywordVariables.java
  Log:
  Added "undeclareVariable"
  
  Revision  Changes    Path
  1.3       +5 -1      jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/servlet/KeywordVariables.java
  
  Index: KeywordVariables.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/servlet/KeywordVariables.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- KeywordVariables.java	24 Apr 2002 04:05:39 -0000	1.2
  +++ KeywordVariables.java	8 May 2002 23:19:09 -0000	1.3
  @@ -62,7 +62,7 @@
    * to a single object using a reserved name (keyword).
    *
    * @author Dmitri Plotnikov
  - * @version $Revision: 1.2 $ $Date: 2002/04/24 04:05:39 $
  + * @version $Revision: 1.3 $ $Date: 2002/05/08 23:19:09 $
    */
   public class KeywordVariables implements Variables {
   
  @@ -86,6 +86,10 @@
       }
   
       public void declareVariable(String variable, Object value){
  +        throw new UnsupportedOperationException("Cannot declare new keyword variables.");
  +    }
  +
  +    public void undeclareVariable(String variable){
           throw new UnsupportedOperationException("Cannot declare new keyword variables.");
       }
   }
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>