git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091094 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Matthew Jason Benson 2011-04-11 15:05:49 +00:00
parent 359cb03882
commit 93666dd2f2
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}