Files

13 lines
317 B
Java

// "Replace 'switch' with 'if'" "true-preview"
class X {
public void doSomething( String value) {
//comment6
//comment7
if (value.equals("case1")) {//comment1
//comment2
//comment3
} else if (value.equals("case2")) {//comment4
//comment5
}//comment8
}
}