mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
test++
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
class AnonymousTest1 {
|
||||
interface Thing {
|
||||
boolean thing();
|
||||
}
|
||||
|
||||
void dupeHolder() {
|
||||
duplicator(false);
|
||||
}
|
||||
|
||||
void duplicator(final boolean thingReturn) {
|
||||
if (new Thing() {
|
||||
public boolean thing() {
|
||||
return thingReturn;
|
||||
}
|
||||
}.thing());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user