mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-21 20:54:49 +07:00
GitOrigin-RevId: cc1ea92dbabe741f1a0c9c7577912a42ac520957
11 lines
243 B
Java
11 lines
243 B
Java
// "Replace 'n' with pattern variable" "false"
|
|
class X {
|
|
void test(Object obj) {
|
|
if (!(obj instanceof Number)) return;
|
|
if (false) {
|
|
Number n;
|
|
}
|
|
Number <caret>n = (Number)obj;
|
|
System.out.println(n.longValue());
|
|
}
|
|
} |