mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
EA-55962 - CCE: DefUseInspection$RemoveInitializerFix.sideEffectAwareRemove
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
// "Remove redundant assignment" "true"
|
||||
class A {
|
||||
void m(int i) {
|
||||
i = 0;
|
||||
System.out.println(i);
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Remove redundant assignment" "true"
|
||||
class A {
|
||||
void m(int i) {
|
||||
<caret>i = 9;
|
||||
i = 0;
|
||||
System.out.println(i);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user