[
https://issues.apache.org/jira/browse/JEXL-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henri Biestro closed JEXL-188.
------------------------------
> 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
> Assignee: Henri Biestro
> Priority: Trivial
> Fix For: 3.1
>
>
> 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
(v8.3.4#803005)