Apply @SafeVarargs to ManagedMap.ofEntries(...)
This commit is contained in:
parent
887389d341
commit
6e2e45d18f
|
@ -67,6 +67,7 @@ public class ManagedMap<K, V> extends LinkedHashMap<K, V> implements Mergeable,
|
||||||
* @return a {@code Map} containing the specified mappings
|
* @return a {@code Map} containing the specified mappings
|
||||||
* @since 5.3.16
|
* @since 5.3.16
|
||||||
*/
|
*/
|
||||||
|
@SafeVarargs
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public static <K,V> ManagedMap<K,V> ofEntries(Entry<? extends K, ? extends V>... entries) {
|
public static <K,V> ManagedMap<K,V> ofEntries(Entry<? extends K, ? extends V>... entries) {
|
||||||
ManagedMap<K,V > map = new ManagedMap<>();
|
ManagedMap<K,V > map = new ManagedMap<>();
|
||||||
|
|
Loading…
Reference in New Issue