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.
Here is a simple demo site for this library that showcases some of the things it's capable of.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results