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. This is a deliberate design decision to ...
PR #411 for details. Developers who use Java 1.7 earlier can still depend upon hamcrest-2.2.jar.