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

Reply via email to