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/06/13 00:48:16 UTC
cvs commit: jakarta-commons-sandbox/jex/src/java/org/apache/commons/jex/jxpath JXPathVariables.java
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>