mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-05 04:40:28 +07:00
17 lines
327 B
Java
17 lines
327 B
Java
// "Replace 'switch' with 'if'" "true"
|
|
class X {
|
|
public void doSomething( String value) {
|
|
//comment1
|
|
//comment3
|
|
//comment4
|
|
//comment5
|
|
//comment6
|
|
//comment7
|
|
//comment8
|
|
if ("case1".equals(value)) {//comment2
|
|
|
|
} else if ("case2".equals(value)) {
|
|
} else {
|
|
}
|
|
}
|
|
} |