LANG-1296: ArrayUtils.addAll() has unsafe use of varargs

remove SafeVarargs annotation
This commit is contained in:
pascalschumacher 2017-01-20 17:47:20 +01:00
parent d0e2bfc466
commit 7e60537820

View File

@ -5059,7 +5059,6 @@ public static boolean isNotEmpty(final boolean[] array) {
* @since 2.1 * @since 2.1
* @throws IllegalArgumentException if the array types are incompatible * @throws IllegalArgumentException if the array types are incompatible
*/ */
@SafeVarargs
public static <T> T[] addAll(final T[] array1, final T... array2) { public static <T> T[] addAll(final T[] array1, final T... array2) {
if (array1 == null) { if (array1 == null) {
return clone(array2); return clone(array2);