mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-13 09:04:37 +07:00
11 lines
240 B
Java
11 lines
240 B
Java
class Test {
|
|
interface I {
|
|
boolean foo(String s);
|
|
}
|
|
{
|
|
((I)s -> s.endsWith(".java")).getClass();
|
|
I i = (<warning descr="Casting 's -> s.endsWith(\".java\")' to 'I' is redundant">I</warning>)s -> s.endsWith(".java");
|
|
|
|
}
|
|
}
|