mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 06:39:38 +07:00
The fix is still useful if invoked for if condition/switch expression/etc. Fixes IDEA-180372.
13 lines
185 B
Java
13 lines
185 B
Java
// "Extract side effect" "true"
|
|
class Test {
|
|
void test(int x) {
|
|
i<caret>f(foo(x, 2)) {
|
|
|
|
}
|
|
}
|
|
|
|
boolean foo(int x, int y) {
|
|
System.out.println(x);
|
|
return x > y;
|
|
}
|
|
} |