introduce variable: forbid to replace write occurrences which occur after read; insert declaration after write usage (IDEA-117204)

This commit is contained in:
anna
2013-11-28 20:21:41 +01:00
parent d88f344fd6
commit 4b36fa12fa
4 changed files with 80 additions and 51 deletions
@@ -0,0 +1,8 @@
class A {
{
String[] result = new String[1];
result[0] = "";
System.out.println(result[0]);
System.out.println(<selection>result[0]</selection>);
}
}