mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-06 01:58:24 +00:00
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 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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user