mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
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());
|
|
}
|
|
} |