René's URL Explorer Experiment


Title: Calling new String("string constant") is an anti-pattern · Issue #248 · awsdocs/aws-lambda-developer-guide · GitHub

Open Graph Title: Calling new String("string constant") is an anti-pattern · Issue #248 · awsdocs/aws-lambda-developer-guide

X Title: Calling new String("string constant") is an anti-pattern · Issue #248 · awsdocs/aws-lambda-developer-guide

Description: This: aws-lambda-developer-guide/sample-apps/java-basic/src/main/java/example/Handler.java Line 19 in b6cd7d3 String response = new String("200 OK"); should simply be: String response = "200 OK"; and of course there should be some sort o...

Open Graph Description: This: aws-lambda-developer-guide/sample-apps/java-basic/src/main/java/example/Handler.java Line 19 in b6cd7d3 String response = new String("200 OK"); should simply be: String response = "200 OK"; a...

X Description: This: aws-lambda-developer-guide/sample-apps/java-basic/src/main/java/example/Handler.java Line 19 in b6cd7d3 String response = new String("200 OK"); should simply be: String response = &...

Opengraph URL: https://github.com/awsdocs/aws-lambda-developer-guide/issues/248

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Calling new String(\"string constant\") is an anti-pattern","articleBody":"This:\r\n\r\nhttps://github.com/awsdocs/aws-lambda-developer-guide/blob/b6cd7d3c9f48411f6892f6d03c1b4186d60c55fa/sample-apps/java-basic/src/main/java/example/Handler.java#L19\r\n\r\nshould simply be:\r\n\r\n`String response = \"200 OK\";`\r\n\r\nand of course there should be some sort of documentation for how the response is used.  It is very odd to see what looks like raw HTTP status codes returned as a string.","author":{"url":"https://github.com/swpalmer","@type":"Person","name":"swpalmer"},"datePublished":"2021-02-24T17:27:40Z","url":"https://github.com/awsdocs/aws-lambda-developer-guide/issues/248"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:26d15735-35eb-b451-d38b-87666ef01af4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE89E:3923DE:9A6855:D32E1B:6AFBD747
html-safe-nonce680dd31cd76bb3b412dc64665fd317fc31458dcf937f6de28a1944d49f70b7ee
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODlFOjM5MjNERTo5QTY4NTU6RDMyRTFCOjZBRkJENzQ3IiwidmlzaXRvcl9pZCI6IjgxNTg1MjkwOTA1MzQyMzM5MjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc0e323f812e1e76ea140c417ba98510b0b7f10490554226b3f2aa33ce480598b
hovercard-subject-tagissue:815691898
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/awsdocs/aws-lambda-developer-guide/248/issue_layout
twitter:imagehttps://opengraph.githubassets.com/17cc8c7a8e56ef8b9a68bb56f4390fedc52650ca55d21d2aa2acdf07de0eccd3/awsdocs/aws-lambda-developer-guide/issues/248
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/17cc8c7a8e56ef8b9a68bb56f4390fedc52650ca55d21d2aa2acdf07de0eccd3/awsdocs/aws-lambda-developer-guide/issues/248
og:image:altThis: aws-lambda-developer-guide/sample-apps/java-basic/src/main/java/example/Handler.java Line 19 in b6cd7d3 String response = new String("200 OK"); should simply be: String response = "200 OK"; a...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameswpalmer
hostnamegithub.com
expected-hostnamegithub.com
None18742cb872ec73544356e60359266b67aafece70c4ce008042e06227924cdd07
turbo-cache-controlno-preview
go-importgithub.com/awsdocs/aws-lambda-developer-guide git https://github.com/awsdocs/aws-lambda-developer-guide.git
octolytics-dimension-user_id8661631
octolytics-dimension-user_loginawsdocs
octolytics-dimension-repository_id113922675
octolytics-dimension-repository_nwoawsdocs/aws-lambda-developer-guide
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id113922675
octolytics-dimension-repository_network_root_nwoawsdocs/aws-lambda-developer-guide
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-nameissues

Links:

Skip to contenthttps://github.com/awsdocs/aws-lambda-developer-guide/issues/248#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fawsdocs%2Faws-lambda-developer-guide%2Fissues%2F248
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%2Fawsdocs%2Faws-lambda-developer-guide%2Fissues%2F248
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=awsdocs%2Faws-lambda-developer-guide
Reloadhttps://github.com/awsdocs/aws-lambda-developer-guide/issues/248
Reloadhttps://github.com/awsdocs/aws-lambda-developer-guide/issues/248
Reloadhttps://github.com/awsdocs/aws-lambda-developer-guide/issues/248
awsdocshttps://github.com/awsdocs
aws-lambda-developer-guidehttps://github.com/awsdocs/aws-lambda-developer-guide
Codehttps://github.com/awsdocs/aws-lambda-developer-guide
Issues24 (24)https://github.com/awsdocs/aws-lambda-developer-guide/issues
Pull requests35 (35)https://github.com/awsdocs/aws-lambda-developer-guide/pulls
Actionshttps://github.com/awsdocs/aws-lambda-developer-guide/actions
Projectshttps://github.com/awsdocs/aws-lambda-developer-guide/projects
Security and qualityhttps://github.com/awsdocs/aws-lambda-developer-guide/security
Insightshttps://github.com/awsdocs/aws-lambda-developer-guide/pulse
https://github.com/awsdocs/aws-lambda-developer-guide
New issuehttps://github.com/login?return_to=https://github.com/awsdocs/aws-lambda-developer-guide/issues/248
New issuehttps://github.com/login?return_to=https://github.com/awsdocs/aws-lambda-developer-guide/issues/248
Calling new String("string constant") is an anti-patternhttps://github.com/awsdocs/aws-lambda-developer-guide/issues/248#top
https://github.com/swpalmer
swpalmerhttps://github.com/swpalmer
on Feb 24, 2021https://github.com/awsdocs/aws-lambda-developer-guide/issues/248#issue-815691898
aws-lambda-developer-guide/sample-apps/java-basic/src/main/java/example/Handler.javahttps://github.com/awsdocs/aws-lambda-developer-guide/blob/b6cd7d3c9f48411f6892f6d03c1b4186d60c55fa/sample-apps/java-basic/src/main/java/example/Handler.java#L19
b6cd7d3https://github.com/awsdocs/aws-lambda-developer-guide/commit/b6cd7d3c9f48411f6892f6d03c1b4186d60c55fa
devlinbd2https://github.com/devlinbd2
on Mar 10, 2021https://github.com/awsdocs/aws-lambda-developer-guide/issues/248#event-4439010358
update Handler.java in java-basic sample to address issues #247 and #248https://github.com/awsdocs/aws-lambda-developer-guide/commit/3de4c5101e2e04739ec1b10a50fc3e91f90bb264
#247https://github.com/awsdocs/aws-lambda-developer-guide/issues/247
#248https://github.com/awsdocs/aws-lambda-developer-guide/issues/248
3de4c51https://github.com/awsdocs/aws-lambda-developer-guide/commit/3de4c5101e2e04739ec1b10a50fc3e91f90bb264
https://github.com/devlinbd2
devlinbd2https://github.com/devlinbd2
on Mar 10, 2021https://github.com/awsdocs/aws-lambda-developer-guide/issues/248#issuecomment-796088490
devlinbd2https://github.com/devlinbd2
completedhttps://github.com/awsdocs/aws-lambda-developer-guide/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Mar 10, 2021https://github.com/awsdocs/aws-lambda-developer-guide/issues/248#event-4439210218
Sign up for freehttps://github.com/signup?return_to=https://github.com/awsdocs/aws-lambda-developer-guide/issues/248
Sign in to commenthttps://github.com/login?return_to=https://github.com/awsdocs/aws-lambda-developer-guide/issues/248
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.