mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 09:20:53 +07:00
12 lines
210 B
Java
12 lines
210 B
Java
class MyTest<T> {
|
|
static void m(Ref<? super String> commentRef) {
|
|
commentRef = coalesce(commentRef, commentRef);
|
|
}
|
|
|
|
static <T> T coalesce(T t1, T t2) {
|
|
return t1;
|
|
}
|
|
|
|
static class Ref<T> { }
|
|
}
|