mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
12 lines
255 B
Java
12 lines
255 B
Java
// "Fix method 'foo' parameters with bounded wildcards" "true-preview"
|
|
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) {
|
|
|
|
}
|
|
}
|