Community
Participate
Working Groups
Using the following code with 3.1M3: public class Test { private static class Inner { } private void a( Inner c ) { new Inner( 42 ); a( new Inner( 42 ) ); } } Both lines in Test.a are highlighted as errors. Using quickfix on the first gives the standard Remove Argument and Create Constructor quickfixes, but using it on the second does not give any.
The problem range of the second error includes the white space after the constructor invocation (in fact all white spaces if added more). I can fix that on my side, but I think it would be better to be fixed on the error range.
Maybe related to bug 77388.
Yes, this is a duplicate. *** This bug has been marked as a duplicate of 77388 ***