| 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:2814f493-6126-ad13-58ce-a88bb4efe62e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BF84:4A9BA:131758:1A8282:6AFBBB40 |
| html-safe-nonce | 63ede5f50193ecaa465466f7c3566ccca61cceac554056304b91c9167dad7778 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjg0OjRBOUJBOjEzMTc1ODoxQTgyODI6NkFGQkJCNDAiLCJ2aXNpdG9yX2lkIjoiMzk2NDkyODM3NDI0OTA3NzU2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c2c613a6e484e64b2279bb8ed10a1b48958d0936667a0f0221b902a5608ed22c |
| hovercard-subject-tag | pull_request:4655864922 |
| 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/openjavaformat/open-java-format/86/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/a25a9ff6195187b5ab2bb73adc9f3d2fb0974defaf225b4b8cdf7ad10cd11525/openjavaformat/open-java-format/pull/86 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a25a9ff6195187b5ab2bb73adc9f3d2fb0974defaf225b4b8cdf7ad10cd11525/openjavaformat/open-java-format/pull/86 |
| og:image:alt | Before this PR
A clean compile printed 91 error-prone warnings, and 83 of them came from four checks that ask for Java 16–21 idioms the code did not use yet: PatternMatchingInstanceof (33), Stateme... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | abashev |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2b2ef9c1578c18d8ed27027940544c958743213cf4461659f14d3ccdf51e162c |
| turbo-cache-control | no-cache |
| go-import | github.com/openjavaformat/open-java-format git https://github.com/openjavaformat/open-java-format.git |
| octolytics-dimension-user_id | 325177626 |
| octolytics-dimension-user_login | openjavaformat |
| octolytics-dimension-repository_id | 1288055459 |
| octolytics-dimension-repository_nwo | openjavaformat/open-java-format |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 214273098 |
| octolytics-dimension-repository_parent_nwo | palantir/palantir-java-format |
| octolytics-dimension-repository_network_root_id | 214273098 |
| octolytics-dimension-repository_network_root_nwo | palantir/palantir-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/openjavaformat/open-java-format/pull/86#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenjavaformat%2Fopen-java-format%2Fpull%2F86 |
| 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%2Fopenjavaformat%2Fopen-java-format%2Fpull%2F86 |
| 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=openjavaformat%2Fopen-java-format |
| Reload | https://github.com/openjavaformat/open-java-format/pull/86 |
| Reload | https://github.com/openjavaformat/open-java-format/pull/86 |
| Reload | https://github.com/openjavaformat/open-java-format/pull/86 |
| openjavaformat | https://github.com/openjavaformat |
| open-java-format | https://github.com/openjavaformat/open-java-format |
| Code | https://github.com/openjavaformat/open-java-format |
| Issues30 (30) | https://github.com/openjavaformat/open-java-format/issues |
| Pull requests5 (5) | https://github.com/openjavaformat/open-java-format/pulls |
| Discussions | https://github.com/openjavaformat/open-java-format/discussions |
| Actions | https://github.com/openjavaformat/open-java-format/actions |
| Security and quality | https://github.com/openjavaformat/open-java-format/security |
| Insights | https://github.com/openjavaformat/open-java-format/pulse |
| https://github.com/openjavaformat/open-java-format |
| abashev | https://github.com/abashev |
| main | https://github.com/openjavaformat/open-java-format/tree/main |
| errorprone-warnings | https://github.com/openjavaformat/open-java-format/tree/errorprone-warnings |
| Conversation | https://github.com/openjavaformat/open-java-format/pull/86 |
| Commits4 (4) | https://github.com/openjavaformat/open-java-format/pull/86/commits |
| Checks | https://github.com/openjavaformat/open-java-format/pull/86/checks |
| Files changed | https://github.com/openjavaformat/open-java-format/pull/86/files |
| Use the Java idioms error-prone asks for: instanceof patterns, arrow switches, text blocks | https://github.com/openjavaformat/open-java-format/pull/86#top |
| abashev | https://github.com/abashev |
| main | https://github.com/openjavaformat/open-java-format/tree/main |
| errorprone-warnings | https://github.com/openjavaformat/open-java-format/tree/errorprone-warnings |
|
| https://github.com/abashev |
| abashev | https://github.com/abashev |
| Sep 27, 2026 | https://github.com/openjavaformat/open-java-format/pull/86#issue-5605164932 |
| Please reload this page | https://github.com/openjavaformat/open-java-format/pull/86 |
| abashev | https://github.com/abashev |
| September 27, 2026 21:15 | https://github.com/openjavaformat/open-java-format/pull/86#commits-pushed-a4cd6ae |
|
| https://github.com/abashev |
| Bind instanceof matches to pattern variables | https://github.com/openjavaformat/open-java-format/pull/86/commits/a4cd6aeb843f7192caf061b3660fdcda67d54880 |
| a4cd6ae | https://github.com/openjavaformat/open-java-format/pull/86/commits/a4cd6aeb843f7192caf061b3660fdcda67d54880 |
|
| https://github.com/abashev |
| Use arrow switches where error-prone suggests them | https://github.com/openjavaformat/open-java-format/pull/86/commits/331d683c53c8ae9bc7c2a08cdd593cc706bb655b |
| 331d683 | https://github.com/openjavaformat/open-java-format/pull/86/commits/331d683c53c8ae9bc7c2a08cdd593cc706bb655b |
|
| https://github.com/abashev |
| Write concatenated multi-line strings as text blocks | https://github.com/openjavaformat/open-java-format/pull/86/commits/75a1dbb307e63abf72b4a8bdffc53656f73264b8 |
| 75a1dbb | https://github.com/openjavaformat/open-java-format/pull/86/commits/75a1dbb307e63abf72b4a8bdffc53656f73264b8 |
|
| https://github.com/abashev |
| Use mapMulti instead of flatMap(Optional::stream) in a plugin test | https://github.com/openjavaformat/open-java-format/pull/86/commits/9e18a0637284dbd8a9736b067a4a28c7691074cb |
| 9e18a06 | https://github.com/openjavaformat/open-java-format/pull/86/commits/9e18a0637284dbd8a9736b067a4a28c7691074cb |
| https://github.com/abashev |
| abashev | https://github.com/abashev |
| e496bdc | https://github.com/openjavaformat/open-java-format/commit/e496bdc61c3d58c1aba09b7f4befdd24a46521ab |
| Sep 27, 2026 | https://github.com/openjavaformat/open-java-format/pull/86#event-31942504286 |
| Please reload this page | https://github.com/openjavaformat/open-java-format/pull/86 |
| https://github.com/abashev |
| abashev | https://github.com/abashev |
| September 27, 2026 18:37 | https://github.com/openjavaformat/open-java-format/pull/86#event-31942505286 |
| https://github.co/hiddenchars |
| https://github.com/openjavaformat/open-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%2Fopenjavaformat%2Fopen-java-format%2Fpull%2F86 |
| Please reload this page | https://github.com/openjavaformat/open-java-format/pull/86 |
| Please reload this page | https://github.com/openjavaformat/open-java-format/pull/86 |
|
| https://github.com/abashev |
|
| 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 |