mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
21 lines
372 B
Java
21 lines
372 B
Java
class Test {
|
|
String[] foo() {
|
|
return null;
|
|
}
|
|
|
|
boolean bar(String s) {
|
|
return false;
|
|
}
|
|
|
|
void foooooo() {
|
|
String[] modules = foo();
|
|
int i = 0;
|
|
while (i < modules.length && newMethod(modules[i])) {
|
|
i++;
|
|
}
|
|
}
|
|
|
|
private boolean newMethod(String module) {
|
|
return !bar(module);
|
|
}
|
|
} |