field can't be final if it is written in initializer more than once (IDEA-57421)

This commit is contained in:
anna
2010-11-19 12:07:02 +03:00
parent caaf99eb74
commit 0e62425248
5 changed files with 27 additions and 3 deletions
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<problems>
</problems>
@@ -0,0 +1,7 @@
final class Foo {
static boolean flag;
static {
flag = true;
flag = false;
}
}