mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 02:21:17 +07:00
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>
|
|
}
|
|
} |