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:
parent
f323edb026
commit
a50a1eaf70
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue