Merge branch 'LANG-1182'
LANG-1182: Clarify JavaDoc of StringUtils.containsAny(). Thanks to Larry West for the suggestion and to Pascal Schuhmacher for implementing it. This fixes #114 from github.
This commit is contained in:
commit
56907c9a96
|
@ -22,6 +22,7 @@
|
|||
<body>
|
||||
|
||||
<release version="3.5" date="tba" description="tba">
|
||||
<action issue="LANG-1182" type="update" dev="britter" due-to="Larry West, Pascal Schumacher">Clarify JavaDoc of StringUtils.containsAny()</action>
|
||||
<action issue="LANG-1169" type="add" dev="lguibert" due-to="Rafal Glowinski, Robert Parr, Arman Sharif">Add StringUtils methods to compare a string to multiple strings</action>
|
||||
<action issue="LANG-1185" type="add" dev="lguibert">Add remove by regular expression methods in StringUtils</action>
|
||||
<action issue="LANG-1183" type="update" dev="lguibert">Making replacePattern/removePattern methods null safe in StringUtils</action>
|
||||
|
|
|
@ -1889,14 +1889,16 @@ public class StringUtils {
|
|||
* </p>
|
||||
*
|
||||
* <pre>
|
||||
* StringUtils.containsAny(null, *) = false
|
||||
* StringUtils.containsAny("", *) = false
|
||||
* StringUtils.containsAny(*, null) = false
|
||||
* StringUtils.containsAny(*, "") = false
|
||||
* StringUtils.containsAny("zzabyycdxx", "za") = true
|
||||
* StringUtils.containsAny("zzabyycdxx", "by") = true
|
||||
* StringUtils.containsAny("zzabyycdxx", "zy") = true
|
||||
* StringUtils.containsAny("aba","z") = false
|
||||
* StringUtils.containsAny(null, *) = false
|
||||
* StringUtils.containsAny("", *) = false
|
||||
* StringUtils.containsAny(*, null) = false
|
||||
* StringUtils.containsAny(*, "") = false
|
||||
* StringUtils.containsAny("zzabyycdxx", "za") = true
|
||||
* StringUtils.containsAny("zzabyycdxx", "by") = true
|
||||
* StringUtils.containsAny("zzabyycdxx", "zy") = true
|
||||
* StringUtils.containsAny("zzabyycdxx", "\tx") = true
|
||||
* StringUtils.containsAny("zzabyycdxx", "$.#yF") = true
|
||||
* StringUtils.containsAny("aba","z") = false
|
||||
* </pre>
|
||||
*
|
||||
* @param cs
|
||||
|
|
Loading…
Reference in New Issue