Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/extractIfCondition/beforeOrSimpleElse.java

12 lines
287 B
Java

// "Extract if (a)" "true"
class TestThreadInspection {
void f(boolean a, boolean b, boolean c){
if (<caret>a || (b/*the comment inside redundant parenthesis*/)) {
System.out.println("a&b");
}
//simple end comment
else {
System.out.println("c");
}
}
}