IDEA-243021 Intention action to duplicate statement(s) into both 'if' branches

GitOrigin-RevId: dd97488c1ffef6880136db2b04052a36287653a6
This commit is contained in:
Tagir Valeev
2020-06-10 11:36:12 +07:00
committed by intellij-monorepo-bot
parent f61a94b5c9
commit 4440291577
13 changed files with 217 additions and 1 deletions

View File

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