mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-28 15:20:54 +07:00
14 lines
328 B
Java
14 lines
328 B
Java
// "Replace with <>" "false"
|
|
|
|
import java.util.function.Consumer;
|
|
|
|
class Test {
|
|
public static <T extends Comparable<T>> Foo<T> test(Consumer<? super T> function) {
|
|
return new Foo<<caret>T>(function);
|
|
}
|
|
|
|
public static class Foo<T extends Comparable<T>> {
|
|
Foo(Consumer<? super T> function) { }
|
|
}
|
|
|
|
} |