palantir-java-format
palantir-java-format copied to clipboard
spotlessApply generates incorrect indentation level for switch expression in lambda
What happened?
.orElseGet(() -> switch (value) {
case ONE -> // one-liner here
case TWO -> // multi-line, single builder
});
What did you want to happen?
.orElseGet(() -> switch (value) {
case ONE -> // one-liner here
case TWO -> // multi-line, single builder
});