field can be local: exclude all fields used in fields initializers (IDEA-72649 )

This commit is contained in:
anna
2011-08-21 17:39:33 +02:00
parent 386cb944a6
commit 12e8bcbd5d
4 changed files with 18 additions and 8 deletions
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<problems>
</problems>
@@ -0,0 +1,9 @@
class Test {
public static final Object FOO = new Test().foo;
private final String foo;
private Test() {
foo = "some text";
}
}