mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
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:
+10
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user