commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1091966 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java
Date Wed, 13 Apr 2011 22:32:14 GMT
Author: mbenson
Date: Wed Apr 13 22:32:13 2011
New Revision: 1091966

URL: http://svn.apache.org/viewvc?rev=1091966&view=rev
Log:
cure warnings for arrays of component type other than Object are specified to StringUtils.join()

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=1091966&r1=1091965&r2=1091966&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 13 22:32:13 2011
@@ -3203,7 +3203,7 @@ public class StringUtils {
      * @since 2.0
      * @since 3.0 Changed signature to use varargs
      */
-    public static String join(Object... elements) {
+    public static <T> String join(T... elements) {
         return join(elements, null);
     }
 



Mime
View raw message