[
https://issues.apache.org/jira/browse/LANG-428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592078#action_12592078
]
Artem Sakhnov commented on LANG-428:
------------------------------------
> If you want to ensure that the String is non-empty, use
> StringUtils.isNotEmpty().
thats ok
but i need to check GET parameter. and i dont want put it in 2 conditions, i
just want call StringUtils.isNumeric(myGetParameter) and get valid answer.
so my opinion, StringUtils.isNumerric("") should return false. if it so, then
we dont need additionall conditions for result approve
> 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.