You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2011/03/01 07:33:37 UTC

[jira] Closed: (LANG-428) StringUtils.isNumeric

     [ https://issues.apache.org/jira/browse/LANG-428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell closed LANG-428.
------------------------------

    Resolution: Fixed

svn ci -m "Resolving LANG-428 - Changing StringUtils.isAlpha, isAlphanumeric and isNumeric to return false when passed an empty String. Documenting this in the changes report and in the upgrade article. Also fixing a Javadoc c+p error in isNumericSpace and isAlphanumericSpace. "
Sending        src/main/java/org/apache/commons/lang3/StringUtils.java
Sending        src/site/changes/changes.xml
Sending        src/site/xdoc/article3_0.xml
Sending        src/test/java/org/apache/commons/lang3/StringUtilsIsTest.java
Transmitting file data ....
Committed revision 1075673.


> StringUtils.isNumeric
> ---------------------
>
>                 Key: LANG-428
>                 URL: https://issues.apache.org/jira/browse/LANG-428
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.*
>    Affects Versions: 2.3
>            Reporter: Artem Sakhnov
>            Priority: Minor
>             Fix For: 3.0
>
>
> StringUtils.isNumeric.
> if we put empty string as parameter we got true.
> StringUtils.isNumeric("") return true.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira