mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-04 20:30:42 +07:00
IDEA would support latest preview only GitOrigin-RevId: 6609e80acced9e1be07880c14de239f75afcc78b
10 lines
202 B
Java
10 lines
202 B
Java
// "Replace 'switch' with 'if'" "true"
|
|
class Test {
|
|
void foo(int x) {
|
|
if (x == 0) {
|
|
System.out.println(x);
|
|
} else if (x == 1) {
|
|
System.out.println("one");
|
|
}
|
|
}
|
|
} |