mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-24 16:48:29 +07:00
8496dd3b7f
GitOrigin-RevId: bd6d592522e497f7897c92799333630d611dc6e1
13 lines
228 B
Java
13 lines
228 B
Java
// "Replace 'switch' with 'if'" "true"
|
|
class Test {
|
|
void test() {
|
|
enum P {
|
|
s;
|
|
}
|
|
P p = null;
|
|
<caret>switch (p) {
|
|
case s -> {}
|
|
default -> {}
|
|
}
|
|
}
|
|
} |