mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 22:20:54 +07:00
11 lines
264 B
Java
11 lines
264 B
Java
class MyTest {
|
|
interface I<T> {
|
|
void m();
|
|
}
|
|
|
|
private final I<String> i;
|
|
|
|
public MyTest(I i) {
|
|
this.i = i == null ? () -> {} : <warning descr="Unchecked assignment: 'MyTest.I' to 'MyTest.I<java.lang.String>'">i</warning>;
|
|
}
|
|
} |