when "if" or a loop body is deleted, replace it with an empty code block

to preserve PSI-text consistency
This commit is contained in:
peter
2018-09-21 13:48:12 +02:00
parent fd27cff607
commit 9f0c066ae9
12 changed files with 85 additions and 31 deletions
@@ -0,0 +1,10 @@
// "Remove 'if' statement" "true"
class X {
int m(String s) {
if (s.equals("abc"))
if (s i<caret>nstanceof Integer) {
System.out.println();
}
return 1;
}
}