mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
15 lines
318 B
Java
15 lines
318 B
Java
// "Add 'String' as 2nd parameter to method 'set'" "true-preview"
|
|
import java.util.List;
|
|
|
|
public class X<T> {
|
|
private List<T> myList;
|
|
|
|
public void set(List<T> list) {
|
|
myList = list;
|
|
}
|
|
|
|
public static void aa() {
|
|
X<Integer> x = new X<Integer>();
|
|
x.set<caret>(null, "aaa");
|
|
}
|
|
} |