Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.8.1
-
None
-
None
Description
TLDR: 'xxx' is not java and can never compile.
The descriptions of the containsOnly(CharSequence cs, char... valid) and containsNone(CharSequence cs, char... valid) methods contain incorrect examples.
One such bad example:
StringUtils.containsOnly("abab", 'abc') = true
This is not Java code and can never compile.
The description of the containsAny(CharSequence cs, char... valid) method does contain correct examples.
One such correct example:
StringUtils.containsAny("zzabyycdxx",['z','a']) = true