VictorKwok opened a new issue, #4399:
URL: https://github.com/apache/netbeans/issues/4399
### Apache NetBeans version
Apache NetBeans 14
### What happened
Whenever formating a record which using @JsonInclude, the formatting is not
correct.
### How to reproduce
Please try to format this:
```
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public record AccountBalance(
String id,
AccountType type,
String name,
String description,
AssetType assetType,
AccountUsage usage,
Currency currency,
BigDecimal balance,
BigDecimal openBalance,
OffsetDateTime openBalanceAt) {
}
```
### Did this work correctly in an earlier version?
No
### Operating System
Windows 11
### JDK
Oracle JDK 18.0.1.1
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
It can be repeated everytime.
### Are you willing to submit a pull request?
No
### Code of Conduct
Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists