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

Sebb commented on LANG-428:
---------------------------

Note that null is different from the empty string.

Most of the isType() methods in this class work the same way: after checking 
for null, they check to make sure there are no illegal characters in the String.

An empty String has no characters, so cannot contain an illegal character.

If you want to ensure that the String is non-empty, use 
StringUtils.isNotEmpty().


> 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