mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
11 lines
179 B
Java
11 lines
179 B
Java
// "Remove local variable 'c'" "true-preview"
|
|
class C {
|
|
String s;
|
|
|
|
void foo(Object o) {
|
|
if (o instanceof C) {
|
|
C c<caret>;
|
|
String t = (c = (C) o).s;
|
|
}
|
|
}
|
|
} |