mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-15281 A method/constructor parameter which is written (before read) should be treated as redundant implemented
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems>
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
<line>2</line>
|
||||
<description>Parameter can be converted to a variable</description>
|
||||
</problem>
|
||||
</problems>
|
||||
@@ -0,0 +1,8 @@
|
||||
class Temp {
|
||||
public Temp(int p) {
|
||||
for (int i = 0; i < 10; i++) {
|
||||
p = i;
|
||||
System.out.print(p);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user