mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-26 03:51:12 +07:00
Make SwitchUtils#isRuleFormatSwitch return true regardless if the passed switch block is used in a statement or an expression context. GitOrigin-RevId: fce50d7a2e2936e6653b2eae1509e6c1fe76d7ad
10 lines
131 B
Java
10 lines
131 B
Java
|
|
class Main {
|
|
private static final int LEVEL = 0;
|
|
void f(Object o) {
|
|
switch(o) {
|
|
case LEVEL -> <caret>
|
|
}
|
|
}
|
|
}
|