mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 20:33:31 +07:00
GitOrigin-RevId: 4d6a5487576dbbc4aca9c89b067eec8218aff686
12 lines
240 B
Java
12 lines
240 B
Java
// "Wrap with unmodifiable map" "true-preview"
|
|
import java.util.Map;
|
|
import java.util.HashMap;
|
|
|
|
class C {
|
|
void test() {
|
|
var result = new HashMap<>();
|
|
foo(<caret>result);
|
|
}
|
|
|
|
void foo(Map<String, Integer> map) {}
|
|
} |