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/jxpath/src/java/org/apache/commons/jxpath/ri/compiler CoreFunction.java
Date Sat, 12 Oct 2002 20:56:04 GMT
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:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message