mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
java completion: don't insert method type arguments if they weren't inferred (IDEA-198368)
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
import java.util.Comparator;
|
||||
|
||||
class T {
|
||||
|
||||
{
|
||||
new TreeSet<>(Ordering.natural()<caret>)
|
||||
}
|
||||
}
|
||||
|
||||
abstract class Ordering<T> implements Comparator<T> {
|
||||
static <C extends Comparable> Ordering<C> natural() {
|
||||
}
|
||||
}
|
||||
|
||||
class TreeSet<E> {
|
||||
TreeSet(Comparator<? super E> c) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user