mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
23 lines
468 B
Java
23 lines
468 B
Java
class Test
|
|
{
|
|
public Object foo() {
|
|
Object result = null;
|
|
if (newMethod()) return null;
|
|
return result;
|
|
}
|
|
|
|
private boolean newMethod() {
|
|
if(test1()) return true;
|
|
if(test2()) return true;
|
|
return false;
|
|
}
|
|
|
|
public int foo1() {
|
|
int result = 1;
|
|
if (newMethod()) return 0;
|
|
return result;
|
|
}
|
|
|
|
private boolean test1() {return false;}
|
|
private boolean test2() {return false;}
|
|
} |