Dmitri Blinov created JEXL-188:
----------------------------------

             Summary: Possible bug in JexlArithmetic.isFloatingPointNumber
                 Key: JEXL-188
                 URL: https://issues.apache.org/jira/browse/JEXL-188
             Project: Commons JEXL
          Issue Type: Bug
    Affects Versions: 3.0
            Reporter: Dmitri Blinov


Reported by FindBugs is the message 

"Useless condition: it's known that ch <= '9' at this point"   
{code}
if (ch != '+' && ch != '-' && ch < '0' && ch > '9') 
{\code}

Possibly && (ch < '0' || ch > '9') was meant ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to