IDEA-122347 No quick fix to add explicit type arguments

This commit is contained in:
Anna Kozlova
2014-03-18 16:49:03 +01:00
parent 8abeb2bf61
commit ed13961e23
3 changed files with 30 additions and 2 deletions
@@ -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) {
}
}
@@ -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) {
}
}