mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 17:20:55 +07:00
[java-highlighting] IDEA-324599 IJ-CR-110513 Use isAccessedForWriting for guard expression
GitOrigin-RevId: 3baedbcb85eb0de7a186cc9f990693da7283f90a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
83c8e42dda
commit
ae0a9aceaa
@@ -181,4 +181,13 @@ class Test {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void testUnary(Object o, Integer in) {
|
||||
switch (o) {
|
||||
case Integer mode when -in == 1 && -mode == 2:
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user