René's URL Explorer Experiment


Title: Start a switch expression on the line of the declaration it initializes by abashev · Pull Request #76 · openjavaformat/open-java-format · GitHub

Open Graph Title: Start a switch expression on the line of the declaration it initializes by abashev · Pull Request #76 · openjavaformat/open-java-format

X Title: Start a switch expression on the line of the declaration it initializes by abashev · Pull Request #76 · openjavaformat/open-java-format

Description: A modern, lambda-friendly, 120 character Java formatter. - Start a switch expression on the line of the declaration it initializes by abashev · Pull Request #76 · openjavaformat/open-java-format

Open Graph Description: Closes #63. Brings over palantir#1789 by Patrick Koenig, which fixes palantir#1258 and shipped in palantir-java-format 2.99.0. What changes A local variable or a field initialized with a switch exp...

X Description: Closes #63. Brings over palantir#1789 by Patrick Koenig, which fixes palantir#1258 and shipped in palantir-java-format 2.99.0. What changes A local variable or a field initialized with a switch exp...

Opengraph URL: https://github.com/openjavaformat/open-java-format/pull/76

X: @github

direct link

Domain: redirect.github.com

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:b861ba7f-75eb-4570-25ee-95dda0aa8b2b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBF94:116731:8455C2:B0F694:6AFBD49F
html-safe-nonce1fcad27b8b384cd9404e884fefce3e3cea6bcf645c5a6afa43fb2f3c6fde312e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjk0OjExNjczMTo4NDU1QzI6QjBGNjk0OjZBRkJENDlGIiwidmlzaXRvcl9pZCI6Ijg4MDMwMjI0ODk4Nzg1MTY4OTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac947f9e466f209e7e26df748a0dccc5719c72f2f5868bd342ceaae3f3c0d86406
hovercard-subject-tagpull_request:4634819552
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/openjavaformat/open-java-format/76/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e13b9bec4230b4f11f7505f8e38f62b4b9954fa298bb1cb8bd1fa31e1af251c2/openjavaformat/open-java-format/pull/76
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e13b9bec4230b4f11f7505f8e38f62b4b9954fa298bb1cb8bd1fa31e1af251c2/openjavaformat/open-java-format/pull/76
og:image:altCloses #63. Brings over palantir#1789 by Patrick Koenig, which fixes palantir#1258 and shipped in palantir-java-format 2.99.0. What changes A local variable or a field initialized with a switch exp...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameabashev
hostnamegithub.com
expected-hostnamegithub.com
None18742cb872ec73544356e60359266b67aafece70c4ce008042e06227924cdd07
turbo-cache-controlno-cache
go-importgithub.com/openjavaformat/open-java-format git https://github.com/openjavaformat/open-java-format.git
octolytics-dimension-user_id325177626
octolytics-dimension-user_loginopenjavaformat
octolytics-dimension-repository_id1288055459
octolytics-dimension-repository_nwoopenjavaformat/open-java-format
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id214273098
octolytics-dimension-repository_parent_nwopalantir/palantir-java-format
octolytics-dimension-repository_network_root_id214273098
octolytics-dimension-repository_network_root_nwopalantir/palantir-java-format
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release820be804f18e1ef3940bd74a00d41d73d02e2b91
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://redirect.github.com/openjavaformat/open-java-format/pull/76#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenjavaformat%2Fopen-java-format%2Fpull%2F76
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenjavaformat%2Fopen-java-format%2Fpull%2F76
Sign uphttps://redirect.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
Reloadhttps://redirect.github.com/openjavaformat/open-java-format/pull/76
Reloadhttps://redirect.github.com/openjavaformat/open-java-format/pull/76
Reloadhttps://redirect.github.com/openjavaformat/open-java-format/pull/76
openjavaformathttps://redirect.github.com/openjavaformat
open-java-formathttps://redirect.github.com/openjavaformat/open-java-format
Codehttps://redirect.github.com/openjavaformat/open-java-format
Issues30 (30)https://redirect.github.com/openjavaformat/open-java-format/issues
Pull requests5 (5)https://redirect.github.com/openjavaformat/open-java-format/pulls
Discussionshttps://redirect.github.com/openjavaformat/open-java-format/discussions
Actionshttps://redirect.github.com/openjavaformat/open-java-format/actions
Security and qualityhttps://redirect.github.com/openjavaformat/open-java-format/security
Insightshttps://redirect.github.com/openjavaformat/open-java-format/pulse
https://redirect.github.com/openjavaformat/open-java-format
abashevhttps://redirect.github.com/abashev
mainhttps://redirect.github.com/openjavaformat/open-java-format/tree/main
switch-expression-declarationhttps://redirect.github.com/openjavaformat/open-java-format/tree/switch-expression-declaration
Conversationhttps://redirect.github.com/openjavaformat/open-java-format/pull/76
Commits2 (2)https://redirect.github.com/openjavaformat/open-java-format/pull/76/commits
Checkshttps://redirect.github.com/openjavaformat/open-java-format/pull/76/checks
Files changedhttps://redirect.github.com/openjavaformat/open-java-format/pull/76/files
Start a switch expression on the line of the declaration it initializeshttps://redirect.github.com/openjavaformat/open-java-format/pull/76#top
abashevhttps://redirect.github.com/abashev
mainhttps://redirect.github.com/openjavaformat/open-java-format/tree/main
switch-expression-declarationhttps://redirect.github.com/openjavaformat/open-java-format/tree/switch-expression-declaration
https://redirect.github.com/abashev
abashevhttps://redirect.github.com/abashev
Sep 25, 2026https://redirect.github.com/openjavaformat/open-java-format/pull/76#issue-5579034020
Please reload this pagehttps://redirect.github.com/openjavaformat/open-java-format/pull/76
#63https://github.com/openjavaformat/open-java-format/issues/63
palantir#1789https://github.com/palantir/palantir-java-format/pull/1789
palantir#1258https://github.com/palantir/palantir-java-format/issues/1258
Don't break line when switch expression used in declaration assignment palantir/palantir-java-format#1789https://github.com/palantir/palantir-java-format/pull/1789
Bring over upstream PR #1789: start a switch expression on the line of the declaration it initializes #63https://github.com/openjavaformat/open-java-format/issues/63
#22https://github.com/openjavaformat/open-java-format/issues/22
#31https://github.com/openjavaformat/open-java-format/issues/31
Please reload this pagehttps://redirect.github.com/openjavaformat/open-java-format/pull/76
pkoenig10https://redirect.github.com/pkoenig10
September 25, 2026 09:17https://redirect.github.com/openjavaformat/open-java-format/pull/76#commits-pushed-610278d
https://redirect.github.com/pkoenig10
https://redirect.github.com/abashev
Don't break line when switch expression used in declaration assignment (https://redirect.github.com/openjavaformat/open-java-format/pull/76/commits/610278d5b8a676fdda99b29d66e404654830ec63
610278dhttps://redirect.github.com/openjavaformat/open-java-format/pull/76/commits/610278d5b8a676fdda99b29d66e404654830ec63
palantir#1789https://github.com/palantir/palantir-java-format/pull/1789
478d4c5https://github.com/openjavaformat/open-java-format/commit/478d4c58eb5d71e87ccb10952ad817c28abfda89
https://redirect.github.com/abashev
Keep an input in the old shape in the switch expression goldenhttps://redirect.github.com/openjavaformat/open-java-format/pull/76/commits/522fab5495f298242c47343c8c08885ad4931adf
522fab5https://redirect.github.com/openjavaformat/open-java-format/pull/76/commits/522fab5495f298242c47343c8c08885ad4931adf
https://redirect.github.com/abashev
abashevhttps://redirect.github.com/abashev
98a80c6https://redirect.github.com/openjavaformat/open-java-format/commit/98a80c6ab6ccf50c8e1d00d35bb891e259c583e5
Sep 25, 2026https://github.com/openjavaformat/open-java-format/pull/76#event-31820772109
Please reload this pagehttps://redirect.github.com/openjavaformat/open-java-format/pull/76
https://redirect.github.com/abashev
abashevhttps://redirect.github.com/abashev
September 25, 2026 08:15https://redirect.github.com/openjavaformat/open-java-format/pull/76#event-31820774722
abashevhttps://redirect.github.com/abashev
Sep 25, 2026 https://redirect.github.com/openjavaformat/open-java-format/pull/76#ref-commit-dff4404
https://redirect.github.com/abashev
List the switch and banner changes among the output differences on Mi…https://redirect.github.com/openjavaformat/docs/commit/dff44049069efd5e872885c57a8373f7a1eac418
dff4404https://redirect.github.com/openjavaformat/docs/commit/dff44049069efd5e872885c57a8373f7a1eac418
openjavaformat/open-java-format#76https://github.com/openjavaformat/open-java-format/pull/76
openjavaformat/open-java-format#74https://github.com/openjavaformat/open-java-format/pull/74
abashevhttps://redirect.github.com/abashev
Sep 25, 2026 https://redirect.github.com/openjavaformat/open-java-format/pull/76#ref-commit-215f758
https://redirect.github.com/abashev
Install open-java-format 2.98.0.4, which ships the Migrate changeshttps://redirect.github.com/openjavaformat/docs/commit/215f758aceac347052c8e4b76e0bc31c332c5ef2
215f758https://redirect.github.com/openjavaformat/docs/commit/215f758aceac347052c8e4b76e0bc31c332c5ef2
openjavaformat/open-java-format#78https://github.com/openjavaformat/open-java-format/pull/78
openjavaformat/open-java-format#76https://github.com/openjavaformat/open-java-format/pull/76
openjavaformat/open-java-format#74https://github.com/openjavaformat/open-java-format/pull/74
https://github.co/hiddenchars
https://redirect.github.com/openjavaformat/open-java-format/pull/{{ revealButtonHref }}
Sign up for freehttps://redirect.github.com/join?source=comment-repo
Sign in to commenthttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenjavaformat%2Fopen-java-format%2Fpull%2F76
Please reload this pagehttps://redirect.github.com/openjavaformat/open-java-format/pull/76
Bring over upstream PR #1789: start a switch expression on the line of the declaration it initializes https://github.com/openjavaformat/open-java-format/issues/63
Unexpected new line in switch assignements https://github.com/palantir/palantir-java-format/issues/1258
Please reload this pagehttps://redirect.github.com/openjavaformat/open-java-format/pull/76
https://redirect.github.com/abashev
https://redirect.github.com/pkoenig10
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.