The GitHub Actions job "Java CI" on commons-lang.git/master has succeeded.
Run started by GitHub user garydgregory (triggered by garydgregory).

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

* Add testLang1641()

* Rename some test methods

* [LANG-1806] NumberUtils.isParsable("1.f") should return true

- Return true for numbers like 1.2e-5d and 1.2e-5f
- Use a regular expression

* [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/20902946618

With regards,
GitHub Actions via GitBox

Reply via email to