commons-issues mailing list archives

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

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

Simon Kitching commented on LANG-428:
-------------------------------------

The existing behaviour is consistent with the other methods. 
And as James notes, any change would break existing code.

So IMO, WONTFIX is the correct resolution. Sorry Artem but backwards compatibility and consistency
are very important in widely-used libs like commons-lang.

I guess that a new method, isNumericValue(String) could be added to implement the requested
behaviour. But I'm not sure it is worth it.


> 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