The problem is reproducable with this code.
best regards,
M.
public class TestA2I extends BorderLayout
{
public void test()
{
new JPanel(this)
{
public int countComponents()
{
return 3;
}
};
}
}
-------------------------------
Valentin wrote that the issue with ";" was fixed but not the second issue.
Could you please clarify the problem: you mean some other refactoring than
"convert anonymous to inner", aren't you?
> build 611:
>
> convert anonymous to inner forgets to add the ;
> for the call to the super-constructor.
>
> + in my case the superclass of the inner class has a
> constructor where one param is a superclass of the outer class.
> -> so that the inner class can be constructed with
> new Inner(this)
>
> IDEA makes the inner class constructor parameterless and
> calls super with (this),
> -> should be OuterClass.this or pass the outer class as param.
> The checkbox "pass outerclass as param" is not shown.
________________________________________________________________
Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr!
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13
_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list