Community
Participate
Working Groups
The quick fix action "Assign parameter to new field" may generate bad formatting. Take the following sample class: ------------------------------------- class Test { Test(int newField) {} } ------------------------------------- Note that the closing curly brace is placed on the same line as the opening one. Applying "Assign parameter to new field" on "newField" will generate this code here: ------------------------------------- class Test { private final int newField; Test(int newField) { this.newField = newField;} } ------------------------------------- The closing curly brace should probably be put on a new line
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
This issue still persists in 4.15.0