mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 22:20:54 +07:00
9 lines
173 B
Java
9 lines
173 B
Java
public class SemicolonAfterSwitchExpression {
|
|
void test() {
|
|
int x = switch (0) {
|
|
case 0 -> 1;
|
|
case 1 -> 2;
|
|
default -> 3;
|
|
};
|
|
}
|
|
} |