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/10/12 22:56:04 UTC
cvs commit: jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/ri/compiler CoreFunction.java
dmitri 2002/10/12 13:56:03
Modified: jxpath/src/java/org/apache/commons/jxpath/ri/compiler
CoreFunction.java
Log:
Null() function will now return null
Revision Changes Path
1.7 +5 -5 jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/ri/compiler/CoreFunction.java
Index: CoreFunction.java
===================================================================
RCS file: /home/cvs/jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/ri/compiler/CoreFunction.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- CoreFunction.java 10 Aug 2002 01:37:12 -0000 1.6
+++ CoreFunction.java 12 Oct 2002 20:56:03 -0000 1.7
@@ -550,7 +550,7 @@
protected Object functionNull(EvalContext context){
assertArgCount(0);
- return new NullPointer(null, context.getRootContext().getCurrentNodePointer().getLocale());
+ return null;
}
protected Object functionNumber(EvalContext context){
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>