mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 05:20:54 +07:00
7 lines
173 B
Java
7 lines
173 B
Java
class X {
|
|
void expressions(Object obj) {
|
|
if (obj instanceof String s) {
|
|
<error descr="Cannot assign a value to final variable 's'">s</error> = "foo";
|
|
}
|
|
}
|
|
} |