slachiewicz opened a new pull request, #95: URL: https://github.com/apache/maven-shared-resources/pull/95
Replaces the old Maven Allman-style Eclipse profile with one that approximates palantir-java-format: 4-space indent, 120 columns, K&R braces, no spaces inside parentheses, 8-space continuation indent, one-per-line wrapping of arguments, parameters and call chains, and comment reformatting turned off. On a corpus of maven-clean-plugin, maven-install-plugin and maven-resources-plugin (24 files, already palantir-formatted), running the Eclipse step changes 6203 lines with the old profile and 377 with the new one. Remaining differences are what Eclipse cannot express: palantir's inlining of a long string-concatenation argument on the opening line, breaking after the paren and then collapsing to one line when parameters fit, ')' / 'throws' placement, and breaking chains that would still fit in 120 columns. Closes #38. -- 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]
