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] [Updated] (JEXL-238) Restrict getLiteralClass to a Number for NumberLiterals
Date Wed, 06 Sep 2017 15:33:00 GMT

     [ 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)

Mime
View raw message