René's URL Explorer Experiment


Title: Keep java.lang imports that disambiguate a simple name by abashev · Pull Request #174 · openjavaformat/open-java-format · GitHub

Open Graph Title: Keep java.lang imports that disambiguate a simple name by abashev · Pull Request #174 · openjavaformat/open-java-format

X Title: Keep java.lang imports that disambiguate a simple name by abashev · Pull Request #174 · openjavaformat/open-java-format

Description: A modern, lambda-friendly, 120 character Java formatter. - Keep java.lang imports that disambiguate a simple name by abashev · Pull Request #174 · openjavaformat/open-java-format

Open Graph Description: Fixes #149. What was wrong Removing unused imports dropped every import from java.lang, used or not. A single-type import shadows a type with the same simple name declared in the file's own pac...

X Description: Fixes #149. What was wrong Removing unused imports dropped every import from java.lang, used or not. A single-type import shadows a type with the same simple name declared in the file's own...

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

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:b5932c94-c96e-aa08-b107-69254caf9c46
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idACD2:116731:5B7C51:7A50E9:6AFBC75D
html-safe-nonce383333c11261f2c2365789d87e9e02a56b4b22e9e3978e51a3ab6eb33696beb0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0QyOjExNjczMTo1QjdDNTE6N0E1MEU5OjZBRkJDNzVEIiwidmlzaXRvcl9pZCI6Ijc5NDg3NDY0MDM3MTMxMDc4MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac85db715331d59ed2c14b8470613add19655b419117d86c7bfad8bdae9400f754
hovercard-subject-tagpull_request:5082911374
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/174/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8254ccc13dfd961f721ed169a4e5f1fdbe22ac0816b97974bd799918ddafdd9f/openjavaformat/open-java-format/pull/174
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8254ccc13dfd961f721ed169a4e5f1fdbe22ac0816b97974bd799918ddafdd9f/openjavaformat/open-java-format/pull/174
og:image:altFixes #149. What was wrong Removing unused imports dropped every import from java.lang, used or not. A single-type import shadows a type with the same simple name declared in the file's own pac...
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://redirect.github.com/openjavaformat/open-java-format/pull/174#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%2F174
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%2F174
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/174
Reloadhttps://redirect.github.com/openjavaformat/open-java-format/pull/174
Reloadhttps://redirect.github.com/openjavaformat/open-java-format/pull/174
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
21.X.Xhttps://redirect.github.com/openjavaformat/open-java-format/tree/21.X.X
fix/keep-used-java-lang-importhttps://redirect.github.com/openjavaformat/open-java-format/tree/fix/keep-used-java-lang-import
Conversationhttps://redirect.github.com/openjavaformat/open-java-format/pull/174
Commits2 (2)https://redirect.github.com/openjavaformat/open-java-format/pull/174/commits
Checkshttps://redirect.github.com/openjavaformat/open-java-format/pull/174/checks
Files changedhttps://redirect.github.com/openjavaformat/open-java-format/pull/174/files
Keep java.lang imports that disambiguate a simple namehttps://redirect.github.com/openjavaformat/open-java-format/pull/174#top
abashevhttps://redirect.github.com/abashev
21.X.Xhttps://redirect.github.com/openjavaformat/open-java-format/tree/21.X.X
fix/keep-used-java-lang-importhttps://redirect.github.com/openjavaformat/open-java-format/tree/fix/keep-used-java-lang-import
https://redirect.github.com/abashev
abashevhttps://redirect.github.com/abashev
Oct 30, 2026https://redirect.github.com/openjavaformat/open-java-format/pull/174#issue-6117366520
Please reload this pagehttps://redirect.github.com/openjavaformat/open-java-format/pull/174
#149https://github.com/openjavaformat/open-java-format/issues/149
JLS 6.4.1https://docs.oracle.com/javase/specs/jls/se21/html/jls-6.html#jls-6.4.1
palantir#1778https://github.com/palantir/palantir-java-format/pull/1778
c9d7b75https://github.com/openjavaformat/open-java-format/commit/c9d7b75d3436d25ee99e3ff82fe6ca70c71c7f98
palantir#1334https://github.com/palantir/palantir-java-format/issues/1334
Removing an unused import leaves two blank lines, and only a second run removes one #37https://github.com/openjavaformat/open-java-format/issues/37
Please reload this pagehttps://redirect.github.com/openjavaformat/open-java-format/pull/174
ZayanKhan-12https://redirect.github.com/ZayanKhan-12
October 30, 2026 13:23https://redirect.github.com/openjavaformat/open-java-format/pull/174#commits-pushed-bff74a0
https://redirect.github.com/ZayanKhan-12
https://redirect.github.com/claude
https://redirect.github.com/abashev
Keep java.lang imports that disambiguate a simple namehttps://redirect.github.com/openjavaformat/open-java-format/pull/174/commits/bff74a00cf54e5c45d93ad9ef076e514c82277a1
bff74a0https://redirect.github.com/openjavaformat/open-java-format/pull/174/commits/bff74a00cf54e5c45d93ad9ef076e514c82277a1
palantir#1334https://github.com/palantir/palantir-java-format/issues/1334
c9d7b75https://github.com/openjavaformat/open-java-format/commit/c9d7b75d3436d25ee99e3ff82fe6ca70c71c7f98
https://redirect.github.com/abashev
Move the tests of unused import removal into case fileshttps://redirect.github.com/openjavaformat/open-java-format/pull/174/commits/e66ee55fd7ea0fa67ce20a2711c2ad830e059f71
e66ee55https://redirect.github.com/openjavaformat/open-java-format/pull/174/commits/e66ee55fd7ea0fa67ce20a2711c2ad830e059f71
#37https://github.com/openjavaformat/open-java-format/issues/37
https://redirect.github.com/abashev
abashevhttps://redirect.github.com/abashev
05b43c8https://redirect.github.com/openjavaformat/open-java-format/commit/05b43c85e4bbc6ab847474b5580a69291ff10089
Oct 30, 2026https://github.com/openjavaformat/open-java-format/pull/174#event-34722960242
Please reload this pagehttps://redirect.github.com/openjavaformat/open-java-format/pull/174
https://redirect.github.com/abashev
abashevhttps://redirect.github.com/abashev
October 30, 2026 18:54https://redirect.github.com/openjavaformat/open-java-format/pull/174#event-34722965204
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%2F174
Please reload this pagehttps://redirect.github.com/openjavaformat/open-java-format/pull/174
Incorrectly removes java.lang import that disambiguates an import or same-package class https://github.com/palantir/palantir-java-format/issues/1334
Do not strip a used java.lang.X import: it may be the only thing that picks the right class https://github.com/openjavaformat/open-java-format/issues/149
Please reload this pagehttps://redirect.github.com/openjavaformat/open-java-format/pull/174
https://redirect.github.com/abashev
https://redirect.github.com/ZayanKhan-12
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.