mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
19 lines
328 B
Java
19 lines
328 B
Java
// "Replace with lambda" "true"
|
|
class Test {
|
|
interface I {
|
|
|
|
}
|
|
interface Bar extends I {
|
|
int smth = 0;
|
|
int compare(String o1, String o2);
|
|
}
|
|
{
|
|
I bar2 = new Ba<caret>r() {
|
|
@Override
|
|
public int compare(String o1, String o2) {
|
|
System.out.println(smth);
|
|
return 0;
|
|
}
|
|
};
|
|
}
|
|
} |