| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:e6aed05f-3c3d-04f7-3ca7-f105e76004ae |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DB08:54397:468FB7:607A63:6AFBBB9B |
| html-safe-nonce | 2fc5b3e8b47c800c3c36f8d598aacabfde1e8495b39a4f8119d40a3f5afa9436 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjA4OjU0Mzk3OjQ2OEZCNzo2MDdBNjM6NkFGQkJCOUIiLCJ2aXNpdG9yX2lkIjoiNDk2MzY4MzE0MDE2MjUzNDI5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6652dac97bc938b73daef19da6a5f07f34f9bace09b4dc9346ea35bf5f0fa5f7 |
| hovercard-subject-tag | pull_request:4963584200 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/google/google-java-format/1492/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/f48154074d906d17c3b19104fda190af68c2d61ea9ef6d4b7658d344d8c940bf/google/google-java-format/pull/1492 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f48154074d906d17c3b19104fda190af68c2d61ea9ef6d4b7658d344d8c940bf/google/google-java-format/pull/1492 |
| og:image:alt | Add a --cleanup option and an AST cleanup pass with brace insertion.
Add the --cleanup[=(true|false)] command-line flag and JavaFormatterOptions.Builder.cleanup(boolean) option (defaulting to true)... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | copybara-service[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2b2ef9c1578c18d8ed27027940544c958743213cf4461659f14d3ccdf51e162c |
| turbo-cache-control | no-cache |
| go-import | github.com/google/google-java-format git https://github.com/google/google-java-format.git |
| octolytics-dimension-user_id | 1342004 |
| octolytics-dimension-user_login | google |
| octolytics-dimension-repository_id | 35448780 |
| octolytics-dimension-repository_nwo | google/google-java-format |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 35448780 |
| octolytics-dimension-repository_network_root_nwo | google/google-java-format |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e4cce0e99cf61481a318ff12c2e8580153a6c7c6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/google/google-java-format/pull/1492#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogle%2Fgoogle-java-format%2Fpull%2F1492 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogle%2Fgoogle-java-format%2Fpull%2F1492 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=google%2Fgoogle-java-format |
| Reload | https://github.com/google/google-java-format/pull/1492 |
| Reload | https://github.com/google/google-java-format/pull/1492 |
| Reload | https://github.com/google/google-java-format/pull/1492 |
| google | https://github.com/google |
| google-java-format | https://github.com/google/google-java-format |
| Code | https://github.com/google/google-java-format |
| Issues84 (84) | https://github.com/google/google-java-format/issues |
| Pull requests35 (35) | https://github.com/google/google-java-format/pulls |
| Actions | https://github.com/google/google-java-format/actions |
| Projects | https://github.com/google/google-java-format/projects |
| Wiki | https://github.com/google/google-java-format/wiki |
| Security and quality | https://github.com/google/google-java-format/security |
| Insights | https://github.com/google/google-java-format/pulse |
| https://github.com/google/google-java-format |
| copybara-service[bot] | https://github.com/copybara-service[bot] |
| master | https://github.com/google/google-java-format/tree/master |
| test_993144268 | https://github.com/google/google-java-format/tree/test_993144268 |
| Conversation | https://github.com/google/google-java-format/pull/1492 |
| Commits1 (1) | https://github.com/google/google-java-format/pull/1492/commits |
| Checks | https://github.com/google/google-java-format/pull/1492/checks |
| Files changed | https://github.com/google/google-java-format/pull/1492/files |
| Add a --cleanup option and an AST cleanup pass with brace insertion. | https://github.com/google/google-java-format/pull/1492#top |
| copybara-service[bot] | https://github.com/copybara-service[bot] |
| master | https://github.com/google/google-java-format/tree/master |
| test_993144268 | https://github.com/google/google-java-format/tree/test_993144268 |
|
| https://github.com/apps/copybara-service |
| copybara-service | https://github.com/apps/copybara-service |
| Oct 22, 2026 | https://github.com/google/google-java-format/pull/1492#issue-5974841323 |
| Please reload this page | https://github.com/google/google-java-format/pull/1492 |
|
| https://github.com/cushon |
| Add a --cleanup option and an AST cleanup pass with brace insertion. | https://github.com/google/google-java-format/pull/1492/commits/5eb4f96dfb78de203303f23b7881221b16a1c96a |
| 5eb4f96 | https://github.com/google/google-java-format/pull/1492/commits/5eb4f96dfb78de203303f23b7881221b16a1c96a |
| https://github.com/apps/copybara-service |
| copybara-service | https://github.com/apps/copybara-service |
| force-pushed | https://github.com/google/google-java-format/compare/24b36096ba084435aa494d7e3d8634bb5151f666..5eb4f96dfb78de203303f23b7881221b16a1c96a |
| 24b3609 | https://github.com/google/google-java-format/commit/24b36096ba084435aa494d7e3d8634bb5151f666 |
| 5eb4f96 | https://github.com/google/google-java-format/commit/5eb4f96dfb78de203303f23b7881221b16a1c96a |
|
Compare
| https://github.com/google/google-java-format/compare/24b36096ba084435aa494d7e3d8634bb5151f666..5eb4f96dfb78de203303f23b7881221b16a1c96a |
| October 22, 2026 07:19 | https://github.com/google/google-java-format/pull/1492#event-33924212714 |
| https://github.com/apps/copybara-service |
| copybara-service | https://github.com/apps/copybara-service |
| 5eb4f96 | https://github.com/google/google-java-format/commit/5eb4f96dfb78de203303f23b7881221b16a1c96a |
| Oct 22, 2026 | https://github.com/google/google-java-format/pull/1492#event-33924216777 |
| Please reload this page | https://github.com/google/google-java-format/pull/1492 |
| https://github.com/apps/copybara-service |
| copybara-service | https://github.com/apps/copybara-service |
| October 22, 2026 07:19 | https://github.com/google/google-java-format/pull/1492#event-33924217925 |
|
Insert missing braces around single-statement if/else/for/while/do bodies (--cleanup)
openjavaformat/open-java-format#147
| https://github.com/openjavaformat/open-java-format/issues/147 |
|
Remove redundant semicolons (top level, class/enum bodies, statements)
openjavaformat/open-java-format#156
| https://github.com/openjavaformat/open-java-format/issues/156 |
| https://github.com/abashev |
| abashev | https://github.com/abashev |
|
Nov 12, 2026
| https://github.com/google/google-java-format/pull/1492#ref-issue-6349354536 |
|
Cleanup pass: drop empty annotation parentheses
openjavaformat/open-java-format#217
| https://github.com/openjavaformat/open-java-format/issues/217 |
| https://github.co/hiddenchars |
| https://github.com/google/google-java-format/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogle%2Fgoogle-java-format%2Fpull%2F1492 |
| Please reload this page | https://github.com/google/google-java-format/pull/1492 |
| Please reload this page | https://github.com/google/google-java-format/pull/1492 |
|
| https://github.com/cushon |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |