Moving the startsWithAny method from (String, String[]) to (String, String...)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@931452 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2010-04-07 07:20:03 +00:00
parent f323edb026
commit a50a1eaf70
1 changed files with 1 additions and 1 deletions

View File

@ -6166,7 +6166,7 @@ public class StringUtils {
* both <code>null</code>
* @since 2.5
*/
public static boolean startsWithAny(String string, String[] searchStrings) {
public static boolean startsWithAny(String string, String... searchStrings) {
if (isEmpty(string) || ArrayUtils.isEmpty(searchStrings)) {
return false;
}