mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
shorten qNames on adding explicit type arguments (IDEA-122667)
This commit is contained in:
+14
@@ -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) { }
|
||||
}
|
||||
+13
@@ -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) { }
|
||||
}
|
||||
Reference in New Issue
Block a user