mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 18:50:54 +07:00
16 lines
271 B
Java
16 lines
271 B
Java
class C {
|
|
String f () {
|
|
return null;
|
|
}
|
|
|
|
C getParent() {return null;}
|
|
|
|
void test () {
|
|
C c = new C();
|
|
while (true) {
|
|
String ok = c.f();
|
|
if (!(ok != null)) break;
|
|
c = c.getParent();
|
|
}
|
|
}
|
|
} |