mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-25 06:01:39 +07:00
5a1a3450b4
GitOrigin-RevId: e72998a2f37c21d4c78096da3c45d56f1d7fd2aa
9 lines
192 B
Java
9 lines
192 B
Java
// "Replace 'switch' with 'if'" "true"
|
|
public class One {
|
|
void f1(String a) {
|
|
if ("one".equals(a)) {
|
|
System.out.println(1);
|
|
}
|
|
System.out.println("default");
|
|
}
|
|
} |