[
https://issues.apache.org/jira/browse/JEXL-298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henri Biestro resolved JEXL-298.
--------------------------------
Resolution: Fixed
Fix Version/s: 3.2
[JEXL-298: tidy empty/isEmpty
logic|https://github.com/apache/commons-jexl/commit/7042254316bf99ac4eabf8fc74522bf93a3a797b]
> Unable to call 'empty' and 'size' member methods with parameters
> ----------------------------------------------------------------
>
> Key: JEXL-298
> URL: https://issues.apache.org/jira/browse/JEXL-298
> Project: Commons JEXL
> Issue Type: Improvement
> Affects Versions: 3.1
> Reporter: Dmitri Blinov
> Assignee: Henri Biestro
> Priority: Major
> Fix For: 3.2
>
>
> It's not possible to parse scripts like
> {code:java}
> x.size(0){code}
> or
> {code:java}
> x.empty(0){code}
> because of current syntax restrictions.
> {{empty}} and {{size}} are perfectly valid method identifiers in java, and
> though uncommon, can be declared with arguments. As of now Jexl allows only
> to call parameterless {{empty()}} and {{size()}} methods
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)