You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Biestro (JIRA)" <ji...@apache.org> on 2017/09/06 15:33:00 UTC

[jira] [Updated] (JEXL-238) Restrict getLiteralClass to a Number for NumberLiterals

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

Henri Biestro updated JEXL-238:
-------------------------------
    Affects Version/s: 3.1

> Restrict getLiteralClass to a Number for NumberLiterals
> -------------------------------------------------------
>
>                 Key: JEXL-238
>                 URL: https://issues.apache.org/jira/browse/JEXL-238
>             Project: Commons JEXL
>          Issue Type: Improvement
>    Affects Versions: 3.1
>            Reporter: Cameron Samak
>            Priority: Trivial
>         Attachments: patch0.patch
>
>
> getLiteralClass in ASTNumberLiteral returns Class<?> when it could return Class<? extends Number>
> I'd like to extend this to JexlArithmetic.narrowNumber, but that's a (trivial) breaking change so I left it out.



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