Skip to content

Conversation

@iamdanfox
Copy link
Contributor

We introduced a way to use the shiny new palantir-java-format here: palantir/gradle-baseline#936. Just dogfooding

It seems like the formatter is occasionally still fighting checkstyle :/

if (type.accept(TypeVisitor.IS_LIST)) {
return ImmutableList.of(
createCollectionSetter("addAll", enriched),
createItemSetter(enriched, type.accept(TypeVisitor.LIST).getItemType()));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dansanduleac I think the number of parens in createItemSetter(enriched, type.accept(TypeVisitor.LIST).getItemType()) makes it a bit subtle to read when it's re-flowed in the new 'dense' style. Thoughts on having a heuristic that would value having opening and closing pairs of parens on the same line?

@stale
Copy link

stale bot commented Oct 30, 2019

This PR has been automatically marked as stale because it has not been touched in the last 14 days. If you'd like to keep it open, please leave a comment or add the 'long-lived' label, otherwise it'll be closed in 7 days.

@stale stale bot added the stale label Oct 30, 2019
@iamdanfox
Copy link
Contributor Author

Closing out as we should use the official excavator one.

@iamdanfox iamdanfox closed this Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants