Add an example with whitespace in StringUtils.defaultIfEmpty
------------------------------------------------------------
Key: LANG-758
URL: https://issues.apache.org/jira/browse/LANG-758
Project: Commons Lang
Issue Type: Improvement
Components: lang.*
Reporter: Bruno P. Kinoshita
Priority: Trivial
Hi there.
Today I needed to use a method to return a default value if certain string was
not given.
I used the old "Eclipse CTRL+Space" trick and looked up in the StringUtils API
javadoc for an example that suited my need :)
I noticed that StringUtils.defaultIfEmpty missed an example with whitespace
(like in StringUtils.defaultIfEmpty), and created a patch for it. The
description in the Javadoc is very good, but my laziness asks for an example
with whitespace ;)
Cheers,
Bruno P. Kinoshita
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira