commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Biestro (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (JEXL-236) Support CharSequence in size(), empty() and contains() operators
Date Wed, 05 Jul 2017 10:21:00 GMT

     [ https://issues.apache.org/jira/browse/JEXL-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Henri Biestro resolved JEXL-236.
--------------------------------
       Resolution: Fixed
         Assignee: Henri Biestro
    Fix Version/s: 3.2

src/main/java/org/apache/commons/jexl3/JexlArithmetic.java
src/test/java/org/apache/commons/jexl3/ArithmeticOperatorTest.java
src/test/java/org/apache/commons/jexl3/ArithmeticTest.java

Committed revision 1800856.

> Support CharSequence in size(), empty() and contains() operators
> ----------------------------------------------------------------
>
>                 Key: JEXL-236
>                 URL: https://issues.apache.org/jira/browse/JEXL-236
>             Project: Commons JEXL
>          Issue Type: Improvement
>    Affects Versions: 3.1
>            Reporter: Dmitri Blinov
>            Assignee: Henri Biestro
>            Priority: Minor
>             Fix For: 3.2
>
>         Attachments: patch0.patch
>
>
> I would be convenient if JEXL would support out of the box the broader {{CharSequence}}
interface instead of {{String}} for operators like {{size()}}, {{empty()}} and {{=~}}. I have
prepared a patch for this. If nobody has any objections, please promote it to the source tree.
Thanks.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message