commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmi...@apache.org
Subject cvs commit: jakarta-commons-sandbox/jex/src/java/org/apache/commons/jex/jxpath JXPathVariables.java
Date Wed, 12 Jun 2002 22:48:16 GMT
dmitri      2002/06/12 15:48:16

  Modified:    jex/src/java/org/apache/commons/jex/jxpath
                        JXPathVariables.java
  Log:
  Compile error
  
  Revision  Changes    Path
  1.2       +13 -4     jakarta-commons-sandbox/jex/src/java/org/apache/commons/jex/jxpath/JXPathVariables.java
  
  Index: JXPathVariables.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jex/src/java/org/apache/commons/jex/jxpath/JXPathVariables.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- JXPathVariables.java	12 Jun 2002 22:31:50 -0000	1.1
  +++ JXPathVariables.java	12 Jun 2002 22:48:16 -0000	1.2
  @@ -66,6 +66,7 @@
   
   import org.apache.commons.jex.Context;
   import org.apache.commons.jxpath.Variables;
  +import java.lang.UnsupportedOperationException;
   
   /**
    * Wraps Jex variables into JXPath variables.  This object points to
  @@ -109,5 +110,13 @@
        */
       public void declareVariable(String varName, Object value) {
           context.getVariables().declareVariable(varName, value);
  +    }
  +
  +    /**
  +     * @see Variables#declareVariable(String, Object)
  +     */
  +    public void undeclareVariable(String varName) {
  +        throw new UnsupportedOperationException(
  +            "Operation 'undeclareVariable' is not supported");
       }
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message