mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 02:21:17 +07:00
14 lines
220 B
Java
14 lines
220 B
Java
// "Extract side effects" "true-preview"
|
|
class Test {
|
|
void test(int x) {
|
|
if(x > 0) {
|
|
foo(x, 1);
|
|
foo(x, 2);
|
|
}
|
|
}
|
|
|
|
boolean foo(int x, int y) {
|
|
System.out.println(x);
|
|
return x > y;
|
|
}
|
|
} |