Some changes in the is-numeric (#8171)

* Perform a null-check instead of catching NPE's
* Use pre-compiled regular expressions and perform a null-check before testing it against the regex
* Made the test usable with two modes, one using a single values and another one using a more realistic workload.
* Upgraded the commons-lang version
This commit is contained in:
Martin van Wingerden
2019-11-22 06:28:58 +01:00
committed by KevinGilmore
parent 5dbf0e8a2d
commit 6493862428
6 changed files with 87 additions and 19 deletions

View File

@@ -58,7 +58,7 @@
</build>
<properties>
<commons-lang3.version>3.8.1</commons-lang3.version>
<commons-lang3.version>3.9</commons-lang3.version>
<assertj.version>3.6.1</assertj.version>
<commons-codec.version>1.10</commons-codec.version>
</properties>