not narrow to Integer if
either argument is a Long; updated JavaDoc accordingly
Modified:
commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl/JexlArithmetic.java
--
View this message in context:
http://www.nabble.com/-JEXL--2.0-incompatible-change-of-number-coercion-behaviour-
Recent changes to the arithmetical operations mean that many
arithmetic operation results are now coerced to Integer, even if both
input variables are Long.
This is unexpected behaviour - e.g. Commons Jelly expects that Long*2 => Long
Seems to me that the result of an arithmetic op should general