commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r931452 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java
Date Wed, 07 Apr 2010 07:20:03 GMT
Author: bayard
Date: Wed Apr  7 07:20:03 2010
New Revision: 931452

URL: http://svn.apache.org/viewvc?rev=931452&view=rev
Log:
Moving the startsWithAny method from (String, String[]) to (String, String...)

Modified:
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java?rev=931452&r1=931451&r2=931452&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java (original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java Wed
Apr  7 07:20:03 2010
@@ -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;
         }



Mime
View raw message