varargs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091094 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
359cb03882
commit
93666dd2f2
|
@ -168,7 +168,7 @@ public abstract class StrMatcher {
|
|||
* @param chars the characters to match, null or empty matches nothing
|
||||
* @return a new matcher for the given char[]
|
||||
*/
|
||||
public static StrMatcher charSetMatcher(char[] chars) {
|
||||
public static StrMatcher charSetMatcher(char... chars) {
|
||||
if (chars == null || chars.length == 0) {
|
||||
return NONE_MATCHER;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue