mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-26 03:51:12 +07:00
16 lines
274 B
Java
16 lines
274 B
Java
// "Replace with lambda" "true"
|
|
class Test {
|
|
interface InOut {
|
|
void run() throws IOException;
|
|
static void foo(){}
|
|
}
|
|
|
|
InOut bind() {
|
|
return new In<caret>Out() {
|
|
@Override
|
|
public void run() throws IOException {
|
|
foo();
|
|
}
|
|
};
|
|
}
|
|
} |