Fix Map to ImmutableMap conversion
This commit is contained in:
parent
8ee805b2db
commit
3e167ac260
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ public class ImmutableMap<K, V> extends HashMap<K, V> {
|
||||||
*/
|
*/
|
||||||
public ImmutableMap(@NotNull Map<K, V> map) {
|
public ImmutableMap(@NotNull Map<K, V> map) {
|
||||||
for (K key : map.keySet())
|
for (K key : map.keySet())
|
||||||
put(key, map.get(key));
|
super.put(key, map.get(key));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue