mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
IDEA-123034 Unused assignment inspection - Remove quick fix
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// "Remove redundant assignment" "true"
|
||||
class A {
|
||||
void m() {
|
||||
int i;
|
||||
i = 0;
|
||||
System.out.println(i);
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
// "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