mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-29 16:50:55 +07:00
14 lines
259 B
Java
14 lines
259 B
Java
// "Replace 'switch' with 'if'" "true-preview"
|
|
class X {
|
|
|
|
void m(String s, int a) throws IOException {
|
|
if (s.equals("a")) {
|
|
a();
|
|
} else {
|
|
d();
|
|
}
|
|
}
|
|
|
|
void a() throws IOException { }
|
|
void d() throws IOException { }
|
|
} |