mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-29 08:20:55 +07:00
10 lines
210 B
Java
10 lines
210 B
Java
// "Replace 'switch' with 'if'" "true-preview"
|
|
class Test {
|
|
void foo(int x) {
|
|
if (x == 0) {
|
|
System.out.println(x);
|
|
} else if (x == 1) {
|
|
System.out.println("one");
|
|
}
|
|
}
|
|
} |