LANG-1295: ArrayUtils.toArray(T... items) has unsafe use of varargs
remove SafeVarargs annotation
This commit is contained in:
parent
7e60537820
commit
928e74f73f
|
@ -301,7 +301,6 @@ public class ArrayUtils {
|
||||||
* @return the array, not null unless a null array is passed in
|
* @return the array, not null unless a null array is passed in
|
||||||
* @since 3.0
|
* @since 3.0
|
||||||
*/
|
*/
|
||||||
@SafeVarargs
|
|
||||||
public static <T> T[] toArray(final T... items) {
|
public static <T> T[] toArray(final T... items) {
|
||||||
return items;
|
return items;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue