René's URL Explorer Experiment


Title: Add support for guard clauses in Java 21 switch expressions by TheCK · Pull Request #988 · google/google-java-format · GitHub

Open Graph Title: Add support for guard clauses in Java 21 switch expressions by TheCK · Pull Request #988 · google/google-java-format

X Title: Add support for guard clauses in Java 21 switch expressions by TheCK · Pull Request #988 · google/google-java-format

Description: Reformats Java source code to comply with Google Java Style. - Add support for guard clauses in Java 21 switch expressions by TheCK · Pull Request #988 · google/google-java-format

Open Graph Description: This PR adds support for switch statements where a case has a guard clause. See Issue #983

X Description: This PR adds support for switch statements where a case has a guard clause. See Issue #983

Opengraph URL: https://github.com/google/google-java-format/pull/988

X: @github

direct link

Domain: 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:c4487fef-2468-17e9-c860-78ea66c26ea8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id823E:2A1648:796235:A11450:6AFBD00B
html-safe-noncef6f4c6b9b73fdf8ea1c9b2ea0ed4d14cc57ac2dc23c4c4aea7456c1a01833af1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjNFOjJBMTY0ODo3OTYyMzU6QTExNDUwOjZBRkJEMDBCIiwidmlzaXRvcl9pZCI6IjMxMzA5MjU1NDMwMzgxMTE3NTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac70d183870271f85d5def1dd5a9b6be57d40b76c078edfd56fdf1873ca2396d56
hovercard-subject-tagpull_request:1596318791
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/google/google-java-format/988/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f7f5c973246d22e4b4ca89741e6b8abcf89efe24e9703f60fba3ec565b9a5c62/google/google-java-format/pull/988
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f7f5c973246d22e4b4ca89741e6b8abcf89efe24e9703f60fba3ec565b9a5c62/google/google-java-format/pull/988
og:image:altThis PR adds support for switch statements where a case has a guard clause. See Issue #983
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameTheCK
hostnamegithub.com
expected-hostnamegithub.com
None18742cb872ec73544356e60359266b67aafece70c4ce008042e06227924cdd07
turbo-cache-controlno-cache
go-importgithub.com/google/google-java-format git https://github.com/google/google-java-format.git
octolytics-dimension-user_id1342004
octolytics-dimension-user_logingoogle
octolytics-dimension-repository_id35448780
octolytics-dimension-repository_nwogoogle/google-java-format
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id35448780
octolytics-dimension-repository_network_root_nwogoogle/google-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://github.com/google/google-java-format/pull/988#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogle%2Fgoogle-java-format%2Fpull%2F988
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogle%2Fgoogle-java-format%2Fpull%2F988
Sign uphttps://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
Reloadhttps://github.com/google/google-java-format/pull/988
Reloadhttps://github.com/google/google-java-format/pull/988
Reloadhttps://github.com/google/google-java-format/pull/988
googlehttps://github.com/google
google-java-formathttps://github.com/google/google-java-format
Codehttps://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
Actionshttps://github.com/google/google-java-format/actions
Projectshttps://github.com/google/google-java-format/projects
Wikihttps://github.com/google/google-java-format/wiki
Security and qualityhttps://github.com/google/google-java-format/security
Insightshttps://github.com/google/google-java-format/pulse
https://github.com/google/google-java-format
TheCKhttps://github.com/TheCK
google:masterhttps://github.com/google/google-java-format/tree/master
TheCK:masterhttps://github.com/TheCK/google-java-format/tree/master
Conversationhttps://github.com/google/google-java-format/pull/988
Commits3 (3)https://github.com/google/google-java-format/pull/988/commits
Checkshttps://github.com/google/google-java-format/pull/988/checks
Files changedhttps://github.com/google/google-java-format/pull/988/files
Add support for guard clauses in Java 21 switch expressionshttps://github.com/google/google-java-format/pull/988#top
TheCKhttps://github.com/TheCK
google:masterhttps://github.com/google/google-java-format/tree/master
TheCK:masterhttps://github.com/TheCK/google-java-format/tree/master
https://github.com/TheCK
TheCKhttps://github.com/TheCK
Nov 10, 2023https://github.com/google/google-java-format/pull/988#issue-1987754666
#983https://github.com/google/google-java-format/issues/983
Please reload this pagehttps://github.com/google/google-java-format/pull/988
https://github.com/TheCK
Add support for guard clauses in Java 21 switch expressionshttps://github.com/google/google-java-format/pull/988/commits/8b528f09b35f21267d01f72ffa6c81b1047ce0e8
8b528f0https://github.com/google/google-java-format/pull/988/commits/8b528f09b35f21267d01f72ffa6c81b1047ce0e8
https://github.com/apps/google-cla
google-clahttps://github.com/apps/google-cla
Nov 10, 2023https://github.com/google/google-java-format/pull/988#issuecomment-1805861575
failed invocationhttps://github.com/google/google-java-format/pull/988/checks?check_run_id=18565488931
Please reload this pagehttps://github.com/google/google-java-format/pull/988
https://github.com/TheCK
TheCKhttps://github.com/TheCK
Nov 21, 2023 https://github.com/google/google-java-format/pull/988#ref-issue-1627522462
Formatter fails when complex case is part of switch expression #922 https://github.com/google/google-java-format/issues/922
https://github.com/cushon
cushonhttps://github.com/cushon
Dec 7, 2023 https://github.com/google/google-java-format/pull/988#pullrequestreview-1770723746
View reviewed changes https://github.com/google/google-java-format/pull/988/files/8b528f09b35f21267d01f72ffa6c81b1047ce0e8
cushonhttps://github.com/cushon
https://github.com/google/google-java-format/pull/988#pullrequestreview-1770723746
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
google-java-format/core/src/test/java/com/google/googlejavaformat/java/FormatterIntegrationTest.javahttps://github.com/google/google-java-format/blob/205b85f2315c48b2d6280a18c6ea9dbe814d3709/core/src/test/java/com/google/googlejavaformat/java/FormatterIntegrationTest.java#L49
205b85fhttps://github.com/google/google-java-format/commit/205b85f2315c48b2d6280a18c6ea9dbe814d3709
Please reload this pagehttps://github.com/google/google-java-format/pull/988
core/src/main/java/com/google/googlejavaformat/java/java21/Java21InputAstVisitor.javahttps://github.com/google/google-java-format/pull/988/files/8b528f09b35f21267d01f72ffa6c81b1047ce0e8#diff-f5afa1f37ac865b31217444b52b31d74b03a0f9208eec0697516e964ad3e5476
cushonhttps://github.com/cushon
Dec 7, 2023https://github.com/google/google-java-format/pull/988#discussion_r1419373818
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
google-java-format/core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.javahttps://github.com/google/google-java-format/blob/205b85f2315c48b2d6280a18c6ea9dbe814d3709/core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L3781
205b85fhttps://github.com/google/google-java-format/commit/205b85f2315c48b2d6280a18c6ea9dbe814d3709
Please reload this pagehttps://github.com/google/google-java-format/pull/988
core/src/main/java/com/google/googlejavaformat/java/Formatter.javahttps://github.com/google/google-java-format/pull/988/files/8b528f09b35f21267d01f72ffa6c81b1047ce0e8#diff-01d3c457c30ba2b13abeb8f04bd9a5149d968dc02227c80c3c6852f13f9d3b31
cushonhttps://github.com/cushon
Dec 7, 2023https://github.com/google/google-java-format/pull/988#discussion_r1419377255
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/google/google-java-format/pull/988
https://github.com/TheCK
Merge branch 'google:master' into masterhttps://github.com/google/google-java-format/pull/988/commits/efcc9783321c6264f0db2cd89b7a56fbe83aac8e
efcc978https://github.com/google/google-java-format/pull/988/commits/efcc9783321c6264f0db2cd89b7a56fbe83aac8e
https://github.com/cushon
cushonhttps://github.com/cushon
Dec 7, 2023 https://github.com/google/google-java-format/pull/988#pullrequestreview-1771157182
View reviewed changes https://github.com/google/google-java-format/pull/988/files
https://github.com/TheCK
refactor guard clause PR and add a testhttps://github.com/google/google-java-format/pull/988/commits/628fd63e298381cd655c2e542215267beeb873e0
628fd63https://github.com/google/google-java-format/pull/988/commits/628fd63e298381cd655c2e542215267beeb873e0
https://github.com/TheCK
TheCKhttps://github.com/TheCK
force-pushedhttps://github.com/google/google-java-format/compare/4771486db7d8aab84eb4ecf8e68af2612d0c2b5c..628fd63e298381cd655c2e542215267beeb873e0
4771486https://github.com/google/google-java-format/commit/4771486db7d8aab84eb4ecf8e68af2612d0c2b5c
628fd63https://github.com/google/google-java-format/commit/628fd63e298381cd655c2e542215267beeb873e0
Compare https://github.com/google/google-java-format/compare/4771486db7d8aab84eb4ecf8e68af2612d0c2b5c..628fd63e298381cd655c2e542215267beeb873e0
December 7, 2023 21:28https://github.com/google/google-java-format/pull/988#event-11187142222
https://github.com/TheCK
TheCKhttps://github.com/TheCK
Dec 7, 2023https://github.com/google/google-java-format/pull/988#issuecomment-1846144609
@cushonhttps://github.com/cushon
Please reload this pagehttps://github.com/google/google-java-format/pull/988
copybara-servicehttps://github.com/apps/copybara-service
Dec 7, 2023 https://github.com/google/google-java-format/pull/988#ref-commit-23714d0
https://github.com/TheCK
Add support for guard clauses in Java 21 switch expressionshttps://github.com/google/google-java-format/commit/23714d0286c51a0a8f0dafe301c94e3f70036004
23714d0https://github.com/google/google-java-format/commit/23714d0286c51a0a8f0dafe301c94e3f70036004
#983https://github.com/google/google-java-format/issues/983
#988https://github.com/google/google-java-format/pull/988
#988https://github.com/google/google-java-format/pull/988
4771486https://github.com/google/google-java-format/commit/4771486db7d8aab84eb4ecf8e68af2612d0c2b5c
https://github.com/apps/copybara-service
copybara-servicehttps://github.com/apps/copybara-service
Dec 7, 2023 https://github.com/google/google-java-format/pull/988#ref-pullrequest-2031634772
Add support for guard clauses in Java 21 switch expressions #998 https://github.com/google/google-java-format/pull/998
https://github.com/apps/copybara-service
copybara-servicehttps://github.com/apps/copybara-service
b86c508https://github.com/google/google-java-format/commit/b86c508be5f42e7ed0d55cd1abe2c04d2db66676
Dec 7, 2023https://github.com/google/google-java-format/pull/988#event-11187655071
https://github.com/EvaristeGalois11
EvaristeGalois11https://github.com/EvaristeGalois11
Dec 19, 2023 https://github.com/google/google-java-format/pull/988#ref-pullrequest-2047799264
Upgrade jdk used by release action to 21 #1015 https://github.com/google/google-java-format/pull/1015
eholmerhttps://github.com/eholmer
Oct 21, 2024 https://github.com/google/google-java-format/pull/988#ref-commit-065c379
https://github.com/TheCK
https://github.com/eholmer-pltr
Add support for guard clauses in Java 21 switch expressionshttps://github.com/palantir/palantir-java-format/commit/065c3799f4ca06edd3b42d18b7ccff0c12fa32c7
065c379https://github.com/palantir/palantir-java-format/commit/065c3799f4ca06edd3b42d18b7ccff0c12fa32c7
#983https://github.com/palantir/palantir-java-format/pull/983
#988https://github.com/palantir/palantir-java-format/pull/988
google/google-java-format#988https://github.com/google/google-java-format/pull/988
https://github.co/hiddenchars
https://github.com/google/google-java-format/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogle%2Fgoogle-java-format%2Fpull%2F988
https://github.com/cushon
cushon https://github.com/cushon
https://github.com/google/google-java-format/pull/988/files/4771486db7d8aab84eb4ecf8e68af2612d0c2b5c
Please reload this pagehttps://github.com/google/google-java-format/pull/988
Please reload this pagehttps://github.com/google/google-java-format/pull/988
https://github.com/TheCK
https://github.com/cushon
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.