In the following code, IDEA highlights an error
although nothing is wrong:

public class Foo {
    private static final int DEFAULT_BAR = 1;

    private int bar;

    public Foo() {
        this(DEFAULT_BAR); // IDEA shows ERROR 
    }

    public Foo(int bar) {
        this.bar = bar;
    }
}

_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs

Reply via email to