Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/extractIfCondition/beforeParenthesis.java
Anna Kozlova 774401fb2f extract if: keep necessary parenthesis (IDEA-219639)
GitOrigin-RevId: 9582978807c159f8302a1781a5f3388fb0130ad9
2019-08-06 13:03:24 +03:00

9 lines
149 B
Java

// "Extract if (b)" "true"
class MyTest {
void foo(boolean a, boolean b, boolean c, boolean d) {
if (a && <caret>b && (c || d)) {
}
}
}