mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-02 14:38:30 +07:00
GitOrigin-RevId: 3aae5c738d48c38144f6a78c36738121831ae5a5
18 lines
414 B
Java
18 lines
414 B
Java
class Test
|
|
{
|
|
public Object foo() {
|
|
Object result = null;
|
|
<selection>if(test1()) return null;
|
|
if(test2()) return null;</selection>
|
|
return result;
|
|
}
|
|
public int foo1() {
|
|
int result = 1;
|
|
if(test1()) return 0;
|
|
if(test2()) return 0;
|
|
return result;
|
|
}
|
|
|
|
private boolean test1() {return false;}
|
|
private boolean test2() {return false;}
|
|
} |