mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-04 04:09:09 +07:00
9 lines
197 B
Java
9 lines
197 B
Java
// "Replace 'switch' with 'if'" "true"
|
|
class X {
|
|
public void doSomething( String value) {
|
|
if ("case1".equals(value)) {
|
|
} else if ("case2".equals(value)) {
|
|
} else {
|
|
}
|
|
}
|
|
} |