I don't think this is a regression. added it to the reprorepo

https://github.com/mbien/nb-reprorepo/blob/302ef1cc3cb0f829dc97dcf6843c270c4170364c/tinybugs/src/main/java/bugs/organizerecordmembers/OrderMembersRecord.java#L5

but still worth fixing, formatter should not refactor code ;)

-mbien

On 01.02.25 19:51, Patrik Karlström wrote:
When I organize members of a record like
public record Settings(Color borderColor, double borderSize, int width, int
height) {
it changes to
public record Settings(Color borderColor, double borderSize, int height,
int width) {

notice the swap of width & height.

This only happens when a record is in its own file, as a nested object, no
swapping occurs.

I don't see this behavior in NB24.

/Patrik



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to