Fix Map to ImmutableMap conversion

This commit is contained in:
JeremyStar™ 2024-07-07 12:54:52 +02:00
parent 8ee805b2db
commit 3e167ac260
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -49,7 +49,7 @@ public class ImmutableMap<K, V> extends HashMap<K, V> {
*/
public ImmutableMap(@NotNull Map<K, V> map) {
for (K key : map.keySet())
put(key, map.get(key));
super.put(key, map.get(key));
}
/**