From 93666dd2f297d42075f92303b0d773c816aad6d1 Mon Sep 17 00:00:00 2001 From: Matthew Jason Benson Date: Mon, 11 Apr 2011 15:05:49 +0000 Subject: [PATCH] varargs git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091094 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/lang3/text/StrMatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/lang3/text/StrMatcher.java b/src/main/java/org/apache/commons/lang3/text/StrMatcher.java index 468399435..a06fc27a9 100644 --- a/src/main/java/org/apache/commons/lang3/text/StrMatcher.java +++ b/src/main/java/org/apache/commons/lang3/text/StrMatcher.java @@ -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; }