Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/convertSwitchToIf/afterComment.java
2018-07-11 13:02:10 +02:00

11 lines
203 B
Java

// "Replace 'switch' with 'if'" "true"
class X {
void test(int i) {
if (i == 1) {//foo
if (Math.random() > 0.5) {
System.out.println("Hello");
}
}
}
}