[
https://issues.apache.org/jira/browse/LANG-533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tomasz Nurkiewicz updated LANG-533:
-----------------------------------
Attachment: LANG-533.patch
I've attached a patch for this issue. It contains notBlank() implementations
(method name corrected, thx) and few unit tests. They do not follow convention
in ValidateTest class, I use given/when/then pattern and properly named test
method names, which explain what the test examines and tests only single
feature.
> Validate: support for validating blank strings
> ----------------------------------------------
>
> Key: LANG-533
> URL: https://issues.apache.org/jira/browse/LANG-533
> Project: Commons Lang
> Issue Type: New Feature
> Affects Versions: 2.4
> Reporter: Tomasz Nurkiewicz
> Priority: Trivial
> Fix For: 3.0
>
> Attachments: LANG-533.patch
>
>
> Validate class lacks of blank string (not null and not whitespace)
> validation, based on StringUtils#isBlank. There is only notEmpty method,
> which does not trim examined string. Example implementation with javadocs
> attached.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.