Hi all,

I've submitted a PR to configure Spotless to refrain from joining 
already-wrapped lines:
https://github.com/apache/geode/pull/1994 
<https://github.com/apache/geode/pull/1994>
My main motivation was to allow formatting method chains with one method per 
line (such as in long Stream pipelines, Mock configurations, and AssertJ 
assertions) when that would make the code easier to understand.

The change in my PR goes further than that. It causes Spotless not to join any 
lines if they are already shorter than the line length limit. I could not find 
an easy way to prevent joining lines only in method chains.

Comments?

Dale

—
Dale Emery
dem...@pivotal.io

Reply via email to