mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-04 20:30:42 +07:00
new inference: avoid prohibit cashing, don't check exceptions during overload resolution instead (IDEA-139531)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.TreeSet;
|
||||
import java.util.concurrent.atomic.LongAdder;
|
||||
|
||||
class Test {
|
||||
|
||||
{
|
||||
Set<Map.Entry<String, Integer>> sort3 = new TreeSet<>((x, y) -> {
|
||||
return Integer.compare(x.get<ref>Value(), y.getValue());
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user