[
https://issues.apache.org/jira/browse/LANG-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Carman resolved LANG-451.
-------------------------------
Resolution: Invalid
Assignee: James Carman
The Javadocs specifically state that the method will return true for empty
strings. This is the intended behavior.
> isWhitespace returns true for empty ("") strings.
> -------------------------------------------------
>
> Key: LANG-451
> URL: https://issues.apache.org/jira/browse/LANG-451
> Project: Commons Lang
> Issue Type: Bug
> Affects Versions: 2.4
> Environment: windows xp/java 1.5.0.12
> Reporter: Ryan Ovrevik
> Assignee: James Carman
> Priority: Minor
>
> if (StringUtils.isWhitespace("") == true) {
> //seems wrong
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.