René's URL Explorer Experiment


Title: Switch order of literals to prevent NullPointerException by pixee-f1759869d20e4af7[bot] · Pull Request #2 · dunningdan/github-api · GitHub

Open Graph Title: Switch order of literals to prevent NullPointerException by pixee-f1759869d20e4af7[bot] · Pull Request #2 · dunningdan/github-api

X Title: Switch order of literals to prevent NullPointerException by pixee-f1759869d20e4af7[bot] · Pull Request #2 · dunningdan/github-api

Description: This change defensively switches the order of literals in comparison expressions to ensure that no null pointer exceptions are unexpectedly thrown. Runtime exceptions especially can cause exception...

Open Graph Description: This change defensively switches the order of literals in comparison expressions to ensure that no null pointer exceptions are unexpectedly thrown. Runtime exceptions especially can cause exception...

X Description: This change defensively switches the order of literals in comparison expressions to ensure that no null pointer exceptions are unexpectedly thrown. Runtime exceptions especially can cause exception...

Opengraph URL: https://github.com/dunningdan/github-api/pull/2

X: @github

direct link

Domain: patch-diff.githubusercontent.com

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:6c7a786d-0b02-88f3-a5d0-509100cd1643
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9A24:3B66CF:3E08ED:4EC4F1:697FE676
html-safe-nonceecc46a6bbcf19c29a2bf01fb416a55271a7528a700985caff9a982802acb4b7e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTI0OjNCNjZDRjozRTA4RUQ6NEVDNEYxOjY5N0ZFNjc2IiwidmlzaXRvcl9pZCI6IjQwMTY3Mjc3Nzg4MDI5OTEyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc3fdba7a13b79095b0acca7b6bad669d63e5e546099812545949cd93f7117c6a
hovercard-subject-tagpull_request:1852683855
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/dunningdan/github-api/2/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e3a20a365c61ca24c3523d5aa40e5b19ccbdb5dac99afee6971b2cbce4192fad/dunningdan/github-api/pull/2
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e3a20a365c61ca24c3523d5aa40e5b19ccbdb5dac99afee6971b2cbce4192fad/dunningdan/github-api/pull/2
og:image:altThis change defensively switches the order of literals in comparison expressions to ensure that no null pointer exceptions are unexpectedly thrown. Runtime exceptions especially can cause exception...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepixee-f1759869d20e4af7[bot]
hostnamegithub.com
expected-hostnamegithub.com
None60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6
turbo-cache-controlno-preview
go-importgithub.com/dunningdan/github-api git https://github.com/dunningdan/github-api.git
octolytics-dimension-user_id2349188
octolytics-dimension-user_logindunningdan
octolytics-dimension-repository_id605307153
octolytics-dimension-repository_nwodunningdan/github-api
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id617210
octolytics-dimension-repository_parent_nwohub4j/github-api
octolytics-dimension-repository_network_root_id617210
octolytics-dimension-repository_network_root_nwohub4j/github-api
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
release7c85641c598ad130c74f7bcc27f58575cac69551
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/dunningdan/github-api/pull/2#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdunningdan%2Fgithub-api%2Fpull%2F2
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdunningdan%2Fgithub-api%2Fpull%2F2
Sign up https://patch-diff.githubusercontent.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=dunningdan%2Fgithub-api
Reloadhttps://patch-diff.githubusercontent.com/dunningdan/github-api/pull/2
Reloadhttps://patch-diff.githubusercontent.com/dunningdan/github-api/pull/2
Reloadhttps://patch-diff.githubusercontent.com/dunningdan/github-api/pull/2
dunningdan https://patch-diff.githubusercontent.com/dunningdan
github-apihttps://patch-diff.githubusercontent.com/dunningdan/github-api
hub4j/github-apihttps://patch-diff.githubusercontent.com/hub4j/github-api
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fdunningdan%2Fgithub-api
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2Fdunningdan%2Fgithub-api
Star 0 https://patch-diff.githubusercontent.com/login?return_to=%2Fdunningdan%2Fgithub-api
Code https://patch-diff.githubusercontent.com/dunningdan/github-api
Pull requests 1 https://patch-diff.githubusercontent.com/dunningdan/github-api/pulls
Actions https://patch-diff.githubusercontent.com/dunningdan/github-api/actions
Projects 0 https://patch-diff.githubusercontent.com/dunningdan/github-api/projects
Security 0 https://patch-diff.githubusercontent.com/dunningdan/github-api/security
Insights https://patch-diff.githubusercontent.com/dunningdan/github-api/pulse
Code https://patch-diff.githubusercontent.com/dunningdan/github-api
Pull requests https://patch-diff.githubusercontent.com/dunningdan/github-api/pulls
Actions https://patch-diff.githubusercontent.com/dunningdan/github-api/actions
Projects https://patch-diff.githubusercontent.com/dunningdan/github-api/projects
Security https://patch-diff.githubusercontent.com/dunningdan/github-api/security
Insights https://patch-diff.githubusercontent.com/dunningdan/github-api/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fdunningdan%2Fgithub-api%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fdunningdan%2Fgithub-api%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/dunningdan/github-api/pull/2#issue-comment-box
pixee-f1759869d20e4af7https://patch-diff.githubusercontent.com/apps/pixee-f1759869d20e4af7
mainhttps://patch-diff.githubusercontent.com/dunningdan/github-api/tree/main
pixeebot/drip-2024-05-03-pixee-java/switch-literal-firsthttps://patch-diff.githubusercontent.com/dunningdan/github-api/tree/pixeebot/drip-2024-05-03-pixee-java/switch-literal-first
Switch order of literals to prevent NullPointerException https://patch-diff.githubusercontent.com/dunningdan/github-api/pull/2#top
pixee-f1759869d20e4af7https://patch-diff.githubusercontent.com/apps/pixee-f1759869d20e4af7
mainhttps://patch-diff.githubusercontent.com/dunningdan/github-api/tree/main
pixeebot/drip-2024-05-03-pixee-java/switch-literal-firsthttps://patch-diff.githubusercontent.com/dunningdan/github-api/tree/pixeebot/drip-2024-05-03-pixee-java/switch-literal-first
Conversation 0 https://patch-diff.githubusercontent.com/dunningdan/github-api/pull/2
Commits 1 https://patch-diff.githubusercontent.com/dunningdan/github-api/pull/2/commits
Checks 0 https://patch-diff.githubusercontent.com/dunningdan/github-api/pull/2/checks
Files changed https://patch-diff.githubusercontent.com/dunningdan/github-api/pull/2/files
Please reload this pagehttps://patch-diff.githubusercontent.com/dunningdan/github-api/pull/2
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/dunningdan/github-api/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/apps/pixee-f1759869d20e4af7
pixee-f1759869d20e4af7https://patch-diff.githubusercontent.com/apps/pixee-f1759869d20e4af7
May 3, 2024https://patch-diff.githubusercontent.com/dunningdan/github-api/pull/2#issue-2276824866
https://cwe.mitre.org/data/definitions/476.htmlhttps://cwe.mitre.org/data/definitions/476.html
https://en.wikibooks.org/wiki/Java_Programming/Preventing_NullPointerExceptionhttps://en.wikibooks.org/wiki/Java_Programming/Preventing_NullPointerException
https://rules.sonarsource.com/java/RSPEC-1132/https://rules.sonarsource.com/java/RSPEC-1132/
pixee:java/switch-literal-firsthttps://docs.pixee.ai/codemods/java/pixee_java_switch-literal-first
https://camo.githubusercontent.com/e4bd1fe8e6fd967c566c7eb65619578a790382c34eb21d2cab4f048e87c8ad08/68747470733a2f2f64336c6773736a766b32693161672e636c6f756466726f6e742e6e65742f706978656c2f76312f747261636b3f77726974654b65793d266576656e743d445249505f505225374364756e6e696e6764616e2532466769746875622d61706925374332626230656265656561363538316237616333613535376639643332386635346366306165343861
Please reload this pagehttps://patch-diff.githubusercontent.com/dunningdan/github-api/pull/2
https://patch-diff.githubusercontent.com/apps/pixee-f1759869d20e4af7
Switch order of literals to prevent NullPointerExceptionhttps://patch-diff.githubusercontent.com/dunningdan/github-api/pull/2/commits/2bb0ebeeea6581b7ac3a557f9d328f54cf0ae48a
2bb0ebehttps://patch-diff.githubusercontent.com/dunningdan/github-api/pull/2/commits/2bb0ebeeea6581b7ac3a557f9d328f54cf0ae48a
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdunningdan%2Fgithub-api%2Fpull%2F2
Please reload this pagehttps://patch-diff.githubusercontent.com/dunningdan/github-api/pull/2
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.