[
https://issues.apache.org/jira/browse/VELOCITY-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henning Schmiedehausen closed VELOCITY-192.
-------------------------------------------
> #if directory and long values
> -----------------------------
>
> Key: VELOCITY-192
> URL: https://issues.apache.org/jira/browse/VELOCITY-192
> Project: Velocity
> Issue Type: Improvement
> Components: Build
> Affects Versions: 1.4
> Environment: Operating System: other
> Platform: All
> Reporter: Luuk Boschker
> Assigned To: Velocity-Dev List
> Priority: Minor
> Fix For: 1.5
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]