mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 10:20:56 +07:00
9 lines
255 B
Java
9 lines
255 B
Java
// "Wrap 'map' with 'HashMap'" "true-preview"
|
|
import java.util.*;
|
|
|
|
class Test {
|
|
void testComparator() {
|
|
Map<String, Integer> map = Math.random() > 0.5 ? Collections.emptyMap() : Collections.singletonMap("foo", 1);
|
|
map.p<caret>ut(123, 456);
|
|
}
|
|
} |