mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-15 11:58:18 +07:00
Cleanup (test moved to a correct location)
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
import java.util.*;
|
||||
|
||||
class C {
|
||||
interface Simplest {
|
||||
void m();
|
||||
}
|
||||
void use(Simplest s) { }
|
||||
|
||||
interface IntParser {
|
||||
int parse(String s);
|
||||
}
|
||||
|
||||
void test() {
|
||||
Simplest simplest = () -> { };
|
||||
use(() -> { });
|
||||
|
||||
IntParser intParser = (String s) -> Integer.parseInt(s);
|
||||
}
|
||||
|
||||
Runnable foo() {
|
||||
return () -> { System.out.println("foo"); };
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user