commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject cvs commit: jakarta-commons/jexl/src/java/org/apache/commons/jexl/parser ASTAddNode.java
Date Thu, 18 Dec 2003 16:10:26 GMT
geirm       2003/12/18 08:10:26

  Modified:    jexl/src/java/org/apache/commons/jexl/parser ASTAddNode.java
  Log:
  small tweak to make specish
  
  Revision  Changes    Path
  1.5       +3 -3      jakarta-commons/jexl/src/java/org/apache/commons/jexl/parser/ASTAddNode.java
  
  Index: ASTAddNode.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jexl/src/java/org/apache/commons/jexl/parser/ASTAddNode.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ASTAddNode.java	17 Dec 2003 12:49:35 -0000	1.4
  +++ ASTAddNode.java	18 Dec 2003 16:10:26 -0000	1.5
  @@ -89,10 +89,10 @@
           Object right = ((SimpleNode) jjtGetChild(1)).value(context);
   
           /*
  -         *  the spec says 'and', I think 'or'
  +         *  the spec says 'and'
            */
           if (left == null && right == null)
  -            return new Integer(0);
  +            return new Long(0);
   
           /*
            *  if anything is float, double or string with ( "." | "E" | "e")
  
  
  

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


Mime
View raw message