mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 15:35:40 +07:00
IDEA-301287 GitOrigin-RevId: 84f0eaf8d62b5ab76be7f25c078bfb5fc24bb889
9 lines
208 B
Java
9 lines
208 B
Java
// "Replace 'integer' with existing pattern variable 'i'" "false"
|
|
class X {
|
|
void test(Object obj) {
|
|
if (obj instanceof Integer i) {
|
|
i = 42;
|
|
Integer <caret>integer = (Integer)obj;
|
|
}
|
|
}
|
|
} |