You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2016/09/18 21:16:24 UTC

[lang] Replace deprecated method call

Repository: commons-lang
Updated Branches:
  refs/heads/master d52937516 -> feb7ba551


Replace deprecated method call

Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/feb7ba55
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/feb7ba55
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/feb7ba55

Branch: refs/heads/master
Commit: feb7ba55120feb5e3ad3f526fae7dee1b5189d9e
Parents: d529375
Author: Sebb <se...@apache.org>
Authored: Sun Sep 18 22:16:20 2016 +0100
Committer: Sebb <se...@apache.org>
Committed: Sun Sep 18 22:16:20 2016 +0100

----------------------------------------------------------------------
 src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/feb7ba55/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java b/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java
index 0294e90..c3d83c6 100644
--- a/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java
@@ -1410,7 +1410,7 @@ public class NumberUtilsTest {
     }
 
     private void compareIsNumberWithCreateNumber(final String val, final boolean expected) {
-        final boolean isValid = NumberUtils.isNumber(val);
+        final boolean isValid = NumberUtils.isCreatable(val);
         final boolean canCreate = checkCreateNumber(val);
         if (isValid == expected && canCreate == expected) {
             return;