mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-01 21:20:54 +07:00
12 lines
248 B
Java
12 lines
248 B
Java
// "Replace 'switch' with 'if'" "true-preview"
|
|
class X {
|
|
void m(String s, boolean r) {
|
|
if (s.equals("a")) {
|
|
System.out.println("a");
|
|
if (r) {
|
|
return;
|
|
}
|
|
}
|
|
System.out.println("d");
|
|
}
|
|
} |