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:
parent
4e2882b6c3
commit
c103730424
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue