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>
|
* <pre>
|
||||||
* StringUtils.defaultIfEmpty(null, "NULL") = "NULL"
|
* StringUtils.defaultIfEmpty(null, "NULL") = "NULL"
|
||||||
* StringUtils.defaultIfEmpty("", "NULL") = "NULL"
|
* StringUtils.defaultIfEmpty("", "NULL") = "NULL"
|
||||||
|
* StringUtils.defaultIfEmpty(" ", "NULL") = " "
|
||||||
* StringUtils.defaultIfEmpty("bat", "NULL") = "bat"
|
* StringUtils.defaultIfEmpty("bat", "NULL") = "bat"
|
||||||
* StringUtils.defaultIfEmpty("", null) = null
|
* StringUtils.defaultIfEmpty("", null) = null
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|
Loading…
Reference in New Issue