Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
3.0
-
None
Description
Reported by FindBugs is the message
"Useless condition: it's known that ch <= '9' at this point"
if (ch != '+' && ch != '-' && ch < '0' && ch > '9')
Possibly && (ch < '0' || ch > '9') was meant ?