IDEA-15281 A method/constructor parameter which is written (before read) should be treated as redundant implemented

This commit is contained in:
Danila Ponomarenko
2012-05-18 19:15:24 +04:00
parent 9e1f37939e
commit 2968482da4
23 changed files with 669 additions and 181 deletions
@@ -0,0 +1,9 @@
// "Convert to local variable" "true"
class Temp {
public Temp() {
for (int i = 0; i < 10; i++) {
<caret>int p = i;
System.out.print(p);
}
}
}