René's URL Explorer Experiment


Title: Use the Java idioms error-prone asks for: instanceof patterns, arrow switches, text blocks by abashev · Pull Request #86 · openjavaformat/open-java-format · GitHub

Open Graph Title: Use the Java idioms error-prone asks for: instanceof patterns, arrow switches, text blocks by abashev · Pull Request #86 · openjavaformat/open-java-format

X Title: Use the Java idioms error-prone asks for: instanceof patterns, arrow switches, text blocks by abashev · Pull Request #86 · openjavaformat/open-java-format

Description: A modern, lambda-friendly, 120 character Java formatter. - Use the Java idioms error-prone asks for: instanceof patterns, arrow switches, text blocks by abashev · Pull Request #86 · openjavaformat/open-java-format

Open Graph Description: 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...

X Description: 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...

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

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/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:4502c64e-7f9f-efbc-d1d1-553793e43abc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id825C:1D8DF0:5FE787:7F27B9:6AFBC6E5
html-safe-nonce1faf60cc4ebd04bae5aba1c420290586d618d38b862dc73ac09b53d664578ddd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjVDOjFEOERGMDo1RkU3ODc6N0YyN0I5OjZBRkJDNkU1IiwidmlzaXRvcl9pZCI6Ijg4NzU3MzU5NTExOTIzNDQyOTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacacc2377a988ee5a32476826f7f9e9507de0c7070f3acbc2f6b7312efa8455ad0
hovercard-subject-tagpull_request:4655864922
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/openjavaformat/open-java-format/pull/86/commits
twitter:imagehttps://opengraph.githubassets.com/a25a9ff6195187b5ab2bb73adc9f3d2fb0974defaf225b4b8cdf7ad10cd11525/openjavaformat/open-java-format/pull/86
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a25a9ff6195187b5ab2bb73adc9f3d2fb0974defaf225b4b8cdf7ad10cd11525/openjavaformat/open-java-format/pull/86
og:image:altBefore 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameabashev
hostnamegithub.com
expected-hostnamegithub.com
Noned440bda0d812801778b27bfe9f7c1ce9ff22420c73f6f95150c4fcbca311c50b
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
release2c43021aed8695990c86c0eaaedc600bfeffec36
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/openjavaformat/open-java-format/pull/86/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenjavaformat%2Fopen-java-format%2Fpull%2F86%2Fcommits
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%2Fopenjavaformat%2Fopen-java-format%2Fpull%2F86%2Fcommits
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=openjavaformat%2Fopen-java-format
Reloadhttps://github.com/openjavaformat/open-java-format/pull/86/commits
Reloadhttps://github.com/openjavaformat/open-java-format/pull/86/commits
Reloadhttps://github.com/openjavaformat/open-java-format/pull/86/commits
openjavaformathttps://github.com/openjavaformat
open-java-formathttps://github.com/openjavaformat/open-java-format
Codehttps://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
Discussionshttps://github.com/openjavaformat/open-java-format/discussions
Actionshttps://github.com/openjavaformat/open-java-format/actions
Security and qualityhttps://github.com/openjavaformat/open-java-format/security
Insightshttps://github.com/openjavaformat/open-java-format/pulse
https://github.com/openjavaformat/open-java-format
abashevhttps://github.com/abashev
mainhttps://github.com/openjavaformat/open-java-format/tree/main
errorprone-warningshttps://github.com/openjavaformat/open-java-format/tree/errorprone-warnings
Conversationhttps://github.com/openjavaformat/open-java-format/pull/86
Commits4 (4)https://github.com/openjavaformat/open-java-format/pull/86/commits
Checkshttps://github.com/openjavaformat/open-java-format/pull/86/checks
Files changedhttps://github.com/openjavaformat/open-java-format/pull/86/files
Use the Java idioms error-prone asks for: instanceof patterns, arrow switches, text blockshttps://github.com/openjavaformat/open-java-format/pull/86/commits#top
abashevhttps://github.com/abashev
mainhttps://github.com/openjavaformat/open-java-format/tree/main
errorprone-warningshttps://github.com/openjavaformat/open-java-format/tree/errorprone-warnings
Bind instanceof matches to pattern variableshttps://github.com/openjavaformat/open-java-format/pull/86/commits/a4cd6aeb843f7192caf061b3660fdcda67d54880
https://github.com/abashev
abashevhttps://github.com/openjavaformat/open-java-format/commits?author=abashev
a4cd6aehttps://github.com/openjavaformat/open-java-format/pull/86/commits/a4cd6aeb843f7192caf061b3660fdcda67d54880
https://github.com/openjavaformat/open-java-format/tree/a4cd6aeb843f7192caf061b3660fdcda67d54880
Use arrow switches where error-prone suggests themhttps://github.com/openjavaformat/open-java-format/pull/86/commits/331d683c53c8ae9bc7c2a08cdd593cc706bb655b
https://github.com/abashev
abashevhttps://github.com/openjavaformat/open-java-format/commits?author=abashev
331d683https://github.com/openjavaformat/open-java-format/pull/86/commits/331d683c53c8ae9bc7c2a08cdd593cc706bb655b
https://github.com/openjavaformat/open-java-format/tree/331d683c53c8ae9bc7c2a08cdd593cc706bb655b
Write concatenated multi-line strings as text blockshttps://github.com/openjavaformat/open-java-format/pull/86/commits/75a1dbb307e63abf72b4a8bdffc53656f73264b8
https://github.com/abashev
abashevhttps://github.com/openjavaformat/open-java-format/commits?author=abashev
75a1dbbhttps://github.com/openjavaformat/open-java-format/pull/86/commits/75a1dbb307e63abf72b4a8bdffc53656f73264b8
https://github.com/openjavaformat/open-java-format/tree/75a1dbb307e63abf72b4a8bdffc53656f73264b8
Use mapMulti instead of flatMap(Optional::stream) in a plugin testhttps://github.com/openjavaformat/open-java-format/pull/86/commits/9e18a0637284dbd8a9736b067a4a28c7691074cb
https://github.com/abashev
abashevhttps://github.com/openjavaformat/open-java-format/commits?author=abashev
9e18a06https://github.com/openjavaformat/open-java-format/pull/86/commits/9e18a0637284dbd8a9736b067a4a28c7691074cb
https://github.com/openjavaformat/open-java-format/tree/9e18a0637284dbd8a9736b067a4a28c7691074cb
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.