geirm 2003/06/25 03:49:48
Modified: jexl/src/java/org/apache/commons/jexl/parser
ASTSubtractNode.java
Log:
Mark Wilkinson's patch (hack!) to the sub node - we really need to fix
this another way - prollie in the introspector
+ /*
+ * TODO - this is actually wrong - JSTL says to return a Long
+ * but we have problems where you have something like
+ *
+ * foo.bar( a - b )
+ *
+ * where bar wants an int...
+ *
+ */
A "proper" way to fix this would be to do coercion when passing arguments to method calls, right?
-pete
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
