You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mb...@apache.org on 2011/04/14 00:32:14 UTC
svn commit: r1091966 -
/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java
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);
}