Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/moveIntoIf/beforeSimple.java
Tagir Valeev 4440291577 IDEA-243021 Intention action to duplicate statement(s) into both 'if' branches
GitOrigin-RevId: dd97488c1ffef6880136db2b04052a36287653a6
2020-06-10 07:37:20 +03:00

7 lines
137 B
Java

// "Move up into 'if' statement branches" "true"
class X {
void test(int x) {
if (x > 0) {}
<caret>System.out.println(x);
}
}