Download the formatter and run it with: To reformat changed lines in a specific patch, use google-java-format-diff.py. Note: There is no configurability as to the formatter's algorithm for formatting.
GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.