We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70415b1 commit 65066bdCopy full SHA for 65066bd
spring-beans/src/main/java/org/springframework/beans/factory/support/ManagedList.java
@@ -64,6 +64,7 @@ public ManagedList(int initialCapacity) {
64
* @since 5.3.16
65
*/
66
@SafeVarargs
67
+ @SuppressWarnings("varargs")
68
public static <E> ManagedList<E> of(E... elements) {
69
ManagedList<E> list = new ManagedList<>();
70
Collections.addAll(list, elements);
spring-beans/src/main/java/org/springframework/beans/factory/support/ManagedSet.java
@@ -63,6 +63,7 @@ public ManagedSet(int initialCapacity) {
63
public static <E> ManagedSet<E> of(E... elements) {
ManagedSet<E> set = new ManagedSet<>();
Collections.addAll(set, elements);
0 commit comments