shorten qNames on adding explicit type arguments (IDEA-122667)

This commit is contained in:
Anna Kozlova
2014-03-24 20:22:23 +01:00
parent 43b8f9cdf4
commit b19b34af63
3 changed files with 29 additions and 1 deletions
@@ -0,0 +1,14 @@
// "Add explicit type arguments" "true"
import java.util.Date;
import java.util.List;
import java.util.Collections;
class Bar {
public static void main(String[] args) {
new Foo().foo(Collections.<Date>emptyList());
}
}
class Foo {
void foo(List<java.util.Date> dates) { }
}
@@ -0,0 +1,13 @@
// "Add explicit type arguments" "true"
import java.util.List;
import java.util.Collections;
class Bar {
public static void main(String[] args) {
new Foo().fo<caret>o(Collections.emptyList());
}
}
class Foo {
void foo(List<java.util.Date> dates) { }
}