DeleteSideEffectsAwareFix: fix removal of for-update statement

GitOrigin-RevId: 15a64c215cc98f4f94b76edc3486bcf762a8be28
This commit is contained in:
Tagir Valeev
2019-09-24 05:31:27 +00:00
committed by intellij-monorepo-bot
parent fc97cbbd2c
commit f127b4491c
5 changed files with 63 additions and 1 deletions
@@ -0,0 +1,8 @@
// "Delete element" "true"
class X {
void test() {
for (int i = 0; i < Integer.MAX_VALUE; ) {
}
}
}
@@ -0,0 +1,8 @@
// "Delete element" "true"
class X {
void test() {
for (int i = 0; i < Integer.MAX_VALUE; i<caret> *= 2) {
}
}
}