commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arjan Moraal (JIRA)" <j...@apache.org>
Subject [jira] Created: (LANG-634) StringUtils.isNumeric returns false on negative value
Date Thu, 15 Jul 2010 07:24:50 GMT
StringUtils.isNumeric returns false on negative value
-----------------------------------------------------

                 Key: LANG-634
                 URL: https://issues.apache.org/jira/browse/LANG-634
             Project: Commons Lang
          Issue Type: Bug
          Components: lang.*
    Affects Versions: 2.2
            Reporter: Arjan Moraal


StringUtils.isNumeric returns false for negative values.

So this unit test line will break the test:

		assertTrue(StringUtils.isNumeric("-1"));


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message