mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-25 19:37:00 +07:00
8a7d1000b1
GitOrigin-RevId: bf8c3d050e5cfa51e71d6e34921ab2c2036b8e5e
9 lines
228 B
Java
9 lines
228 B
Java
// "Move up into 'if' statement branches" "false"
|
|
class X {
|
|
void test(int x, Object obj) {
|
|
if (x > 0) System.out.println(">0"); else {
|
|
int y = 3;
|
|
}
|
|
<selection>if (obj instanceof String y) {}</selection>
|
|
}
|
|
} |