You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Cameron Samak (JIRA)" <ji...@apache.org> on 2017/08/16 04:48:00 UTC
[jira] [Created] (JEXL-238) Restrict getLiteralClass to a Number
for NumberLiterals
Cameron Samak created JEXL-238:
----------------------------------
Summary: 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
Reporter: Cameron Samak
Priority: Trivial
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)