commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carman (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-428) StringUtils.isNumeric
Date Thu, 24 Apr 2008 14:07:21 GMT

    [ https://issues.apache.org/jira/browse/LANG-428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592067#action_12592067
] 

James Carman commented on LANG-428:
-----------------------------------

Yes, the javadocs specifically mention the empty string case.  So, it is desired behavior
(or at least was when the author wrote it).  

Also, there could be code out there that depends on this behavior.  Changing it now would
be a regression bug.

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

-- 
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