mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-122347 No quick fix to add explicit type arguments
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
// "Add explicit type arguments to 2nd argument" "true"
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
class Foo {
|
||||
|
||||
public static void main(String[] args) {
|
||||
new Foo(1, Collections.<String>emptyList());
|
||||
}
|
||||
|
||||
public Foo(Integer i, List<String> list) {
|
||||
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
// "Add explicit type arguments to 2nd argument" "true"
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
class Foo {
|
||||
|
||||
public static void main(String[] args) {
|
||||
new Foo(1, Collections.empt<caret>yList());
|
||||
}
|
||||
|
||||
public Foo(Integer i, List<String> list) {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user