Adding additional example for whitespace per Bruno's patch in LANG-758

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1177171 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2011-09-29 05:56:45 +00:00
parent 4e2882b6c3
commit c103730424
1 changed files with 1 additions and 0 deletions

View File

@ -5568,6 +5568,7 @@ public class StringUtils {
* <pre>
* StringUtils.defaultIfEmpty(null, "NULL") = "NULL"
* StringUtils.defaultIfEmpty("", "NULL") = "NULL"
* StringUtils.defaultIfEmpty(" ", "NULL") = " "
* StringUtils.defaultIfEmpty("bat", "NULL") = "bat"
* StringUtils.defaultIfEmpty("", null) = null
* </pre>