LANG-1295: ArrayUtils.toArray(T... items) has unsafe use of varargs

remove SafeVarargs annotation
This commit is contained in:
pascalschumacher 2017-01-20 17:49:11 +01:00
parent 7e60537820
commit 928e74f73f
1 changed files with 0 additions and 1 deletions

View File

@ -301,7 +301,6 @@ public class ArrayUtils {
* @return the array, not null unless a null array is passed in
* @since 3.0
*/
@SafeVarargs
public static <T> T[] toArray(final T... items) {
return items;
}