commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cameron Samak (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JEXL-238) Restrict getLiteralClass to a Number for NumberLiterals
Date Wed, 16 Aug 2017 04:48:00 GMT
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)

Mime
View raw message