mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-25 00:40:00 +07:00
bd1a21a02a
GitOrigin-RevId: ec42a9047ba63b0cbaddd8357d11ae2ed56ed6b6
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");
|
|
}
|
|
}
|
|
} |