mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
diamonds: fix parent hunting inside anonymous class (IDEA-259666)
GitOrigin-RevId: 51f47646dbe68e9182b75e3058b0d1216ada92e6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
328c05d165
commit
0a73a79b70
@@ -0,0 +1,7 @@
|
||||
import java.util.*;
|
||||
|
||||
class MyTest {
|
||||
private static <K, V> HashMap<K, V> createMultiMap(boolean identityKeys) {
|
||||
return new HashMap<>(identityKeys ? new HashMap<>() : Collections.emptyMap()) {};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user