[
https://issues.apache.org/jira/browse/JEXL-293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16802788#comment-16802788
]
Henri Biestro commented on JEXL-293:
------------------------------------
Indeed, it is not syntactically correct; there is a unary minus operator, no
unary plus operator.
In Java, unary plus promotes a byte, char or short operand to int; note that
this is not a Math.abs(...) shortcut btw.
Since number literals are already integer in Jexl, functional value seems
narrow.
Care to explain why this is a major bug in your case ?
> leading plus sign not recognized
> --------------------------------
>
> Key: JEXL-293
> URL: https://issues.apache.org/jira/browse/JEXL-293
> Project: Commons JEXL
> Issue Type: Bug
> Affects Versions: 3.1
> Reporter: Sharon Ben Asher
> Assignee: Henri Biestro
> Priority: Major
>
> The expression "+2" is not valid ?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)