mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-21 05:51:25 +07:00
add test case for IDEA-CR-36995
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// "Fix method 'foo' parameters with bounded wildcards" "true"
|
||||
import java.util.List;
|
||||
|
||||
interface Xo<T> {
|
||||
void foo(List<? super T> s);
|
||||
}
|
||||
public class ErrWarn implements Xo<String> {
|
||||
public void <caret>foo(List<? super String> s) {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
// "Fix method 'foo' parameters with bounded wildcards" "true"
|
||||
import java.util.List;
|
||||
|
||||
interface Xo<T> {
|
||||
void foo(List<? super T> s);
|
||||
}
|
||||
public class ErrWarn implements Xo<String> {
|
||||
public void <caret>foo(List<String> s) {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user