mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
9 lines
183 B
Java
9 lines
183 B
Java
// "Remove local variable 'n'" "true-preview"
|
|
class C {
|
|
void foo(Object o) {
|
|
if (o instanceof Integer) {
|
|
Integer n<caret>;
|
|
int i = (n = (Integer) o) + 1;
|
|
}
|
|
}
|
|
} |