You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Migrate Java formatting to Google Java Format 2 - #3472
Upgrade Google Java Format to 2.0.0 in a standalone formatter-only PR. The 1.37.0 pin proposed in #3454 is incompatible with Spotless: it removed the Style.valueOf(String) API called by the installed plugin. Version 2.0.0 restores that API and covers #3464.
What Changed
Pin formatter 2.0.0 and use the installed Spotless plugin's cleanup(false) option to disable optional token cleanup.
Apply the formatter across tracked Java sources. Generated-source exclusions are unchanged.
No dependency upgrades other than the formatter, and no Renovate, CI trust, or deployment policy changes.
Validation
Compared all 1,587 changed Java files to the exact develop base with JDK 25: ordered Java tokens, including decoded literal values, are identical. Whitespace and comment layout may change.
git diff --check passed. Canonical full Spotless checked the formatter output. Native hosted CI is separate.
Notes
This is a deliberately large mechanical migration: 1,587 Java files and two formatter configuration files.
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
⚠️ Known PLAY failed: ERROR ENTITLEMENT_UNAVAILABLE after LOGIN. Canonical PLAY transition exception accepted; no runtime qualification or publication.
✅ Changes detection: success
✅ Smoke Gate: success
❌ PR Full-Stack Smoke: failure (known PLAY exception accepted; no runtime qualification or publication)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrade Google Java Format to 2.0.0 in a standalone formatter-only PR. The 1.37.0 pin proposed in #3454 is incompatible with Spotless: it removed the
Style.valueOf(String)API called by the installed plugin. Version 2.0.0 restores that API and covers #3464.What Changed
cleanup(false)option to disable optional token cleanup.Validation
git diff --checkpassed. Canonical full Spotless checked the formatter output. Native hosted CI is separate.Notes
LOC Impact