LANG-1296: ArrayUtils.addAll() has unsafe use of varargs
remove SafeVarargs annotation
This commit is contained in:
parent
d0e2bfc466
commit
7e60537820
|
@ -5059,7 +5059,6 @@ public class ArrayUtils {
|
|||
* @since 2.1
|
||||
* @throws IllegalArgumentException if the array types are incompatible
|
||||
*/
|
||||
@SafeVarargs
|
||||
public static <T> T[] addAll(final T[] array1, final T... array2) {
|
||||
if (array1 == null) {
|
||||
return clone(array2);
|
||||
|
|
Loading…
Reference in New Issue