mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-31 07:20:25 +07:00
2380906af8
GitOrigin-RevId: 09c4aa42068ce0258543a17546404fcdec952404
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";
|
|
}
|
|
}
|
|
} |