From 2e7684a084a897e5a55d181adeef42839032db7f Mon Sep 17 00:00:00 2001 From: tdurieux Date: Tue, 7 Mar 2017 13:26:10 +0100 Subject: [PATCH] fixed files form Lang #24 --- projects/Lang/24/org/apache/commons/lang3/math/NumberUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/Lang/24/org/apache/commons/lang3/math/NumberUtils.java b/projects/Lang/24/org/apache/commons/lang3/math/NumberUtils.java index 4a1d845..d9b3c6d 100644 --- a/projects/Lang/24/org/apache/commons/lang3/math/NumberUtils.java +++ b/projects/Lang/24/org/apache/commons/lang3/math/NumberUtils.java @@ -1410,7 +1410,7 @@ public static boolean isNumber(String str) { if (chars[i] == 'l' || chars[i] == 'L') { // not allowing L with an exponent or decimal point - return foundDigit && !hasExp; + return foundDigit && !hasExp && !hasDecPoint; } // last character is illegal return false;