mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-25 19:37:00 +07:00
8a7d1000b1
GitOrigin-RevId: bf8c3d050e5cfa51e71d6e34921ab2c2036b8e5e
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>
|
|
}
|
|
} |