| Name: google-java-format |
| URL: https://github.com/google/google-java-format |
| Version: 1.28.0 |
| Revision: d6b1bcc610a1aadfcbddaa22b9d3fbe1b4c429d7 |
| Update Mechanism: Manual |
| License: NCSA, Apache-2.0 |
| License File: LICENSE |
| Security Critical: no |
| Shipped: no |
| |
| Description: |
| google-java-format is a program that reformats Java source code to comply with |
| Google Java Style (https://google.github.io/styleguide/javaguide.html). |
| |
| Local Modifications: |
| - Customized import order to match Chromium style guide. |
| - Tell it treat our @Nullable as TYPE_USE |
| To see changes: diff -ur originals local_modifications |
| |
| Update instructions: |
| - Find latest version available via https://chrome-infra-packages.appspot.com/p/chromium/third_party/google-java-format |
| - Update DEPS Instance ID |
| - Update the Version in this file |
| - Run gclient sync |
| - Run recreate_local_overrides.sh |
| - Run recreate_chromium_overrides_jar.sh |
| - Test the formatter works (file chosen because it has switch expression in it): |
| third_party/google-java-format/google-java-format -i --aosp chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnection.java |
| - Commit with mention of any notables by scanning release notes at: https://github.com/google/google-java-format/releases |