The GitHub Actions job "Java CI" on 
commons-lang.git/bugfix/LANG-1806_NumberUtils_isParsable has failed.
Run started by GitHub user garydgregory (triggered by garydgregory).

Head commit for run:
670badc4398dfc03919f0a4633dfedc0de37c824 / Gary Gregory <[email protected]>
[LANG-1806] NumberUtils.isParsable("1.f") should return true

- Return true for numbers like 1.2e-5d and 1.2e-5f
- Return true when one of the following would work:
-- Double.parseDouble(String)
-- Float.parseFloat(String)
-- Long.parseLong(String)
-- Integer.parseInteger(String)

There are so many cases that it's simpler to try to parse and catch
exceptions, instead of re-creating all the parsing rules from the JRE.
The only downside is that number instances are created and discarded.

Report URL: https://github.com/apache/commons-lang/actions/runs/20897935495

With regards,
GitHub Actions via GitBox

Reply via email to