Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/deleteSwitchLabel/afterUnwrapRule.java
Tagir Valeev dd689d3a39 [java-inspections] More tests for preview
GitOrigin-RevId: 6b6405ee4491ad1d58947547c40df6fb2d291ab7
2022-07-29 17:54:59 +00:00

21 lines
414 B
Java

// "Remove unreachable branches" "true-preview"
class Main {
static void fff(int x) {
if (x == 5) {
//1
//2
//3
//4
//6
//7
//other
if (Math.random() > 0.5) return;
System.out.println("five-ten-fifteen"); //5
}
}
public static void main(String[] args) {
fff();
}
}