Details
Description
When using ($if x == 1), and x is of type long, then Velocity tries to compare x
as type Long and 1 as type Integer, resulting in the following message in the
errorlog:
Error in evaluation of == expression. Both arguments must be of the same Class.
Currently left = class java.lang.Long, right = class java.lang.Integer.