mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
safe delete: do not change semantic on delete loop/if body (IDEA-114406)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class A {
|
||||
void f(String p){
|
||||
String <caret>t;
|
||||
if (p == null)
|
||||
t = "1";
|
||||
System.out.println("");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
class A {
|
||||
void f(String p){
|
||||
if (p == null)
|
||||
;
|
||||
System.out.println("");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user