mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-23 07:50:55 +07:00
10 lines
228 B
Java
10 lines
228 B
Java
// "Move up into 'if' statement branches" "false"
|
|
class X {
|
|
void test(int x) {
|
|
if (x > 0) System.out.println(">0"); else {
|
|
int y = 3;
|
|
}
|
|
<selection>{int y = x * 2;
|
|
System.out.println(y);}</selection>
|
|
}
|
|
} |