mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
add explicit type arguments: preserve nested wildcards (IDEA-134967)
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
// "Add explicit type arguments" "true"
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
class Bar {
|
||||
|
||||
public static void main(String[] args) {
|
||||
new Bar().complexTypeParams(Collections.<Class<?>>emptyList());
|
||||
}
|
||||
|
||||
void complexTypeParams(List<Class<?>> list) {}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
// "Add explicit type arguments" "true"
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
class Bar {
|
||||
|
||||
public static void main(String[] args) {
|
||||
new Bar().complexTypeParams(Collections.e<caret>mptyList());
|
||||
}
|
||||
|
||||
void complexTypeParams(List<Class<?>> list) {}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user