Browse Source

Merge branch '5.3.x'

pull/28181/head
Sam Brannen 3 years ago
parent
commit
5598f99816
  1. 1
      spring-beans/src/main/java/org/springframework/beans/factory/support/ManagedMap.java

1
spring-beans/src/main/java/org/springframework/beans/factory/support/ManagedMap.java

@ -67,6 +67,7 @@ public class ManagedMap<K, V> extends LinkedHashMap<K, V> implements Mergeable, @@ -67,6 +67,7 @@ public class ManagedMap<K, V> extends LinkedHashMap<K, V> implements Mergeable,
* @return a {@code Map} containing the specified mappings
* @since 5.3.16
*/
@SafeVarargs
@SuppressWarnings("unchecked")
public static <K,V> ManagedMap<K,V> ofEntries(Entry<? extends K, ? extends V>... entries) {
ManagedMap<K,V > map = new ManagedMap<>();

Loading…
Cancel
Save