René's URL Explorer Experiment


Title: Replace Guava's immutable collections with java.util and ban them outside the SPI by abashev · Pull Request #218 · openjavaformat/open-java-format · GitHub

Open Graph Title: Replace Guava's immutable collections with java.util and ban them outside the SPI by abashev · Pull Request #218 · openjavaformat/open-java-format

X Title: Replace Guava's immutable collections with java.util and ban them outside the SPI by abashev · Pull Request #218 · openjavaformat/open-java-format

Description: Before this PR The code used Guava's ImmutableList, ImmutableMap and ImmutableSet throughout, although CLAUDE.md asks new code for plain java.util collections, and nothing stopped them from coming back. #202 has the plan and the pitfalls found on the way. After this PR ==COMMIT_MSG== Guava's ImmutableList, ImmutableMap and ImmutableSet give way to java.util collections, and forbidden-apis fails the build on them in every module but the SPI, whose FormatterService keeps returning ImmutableList for compatibility. ==COMMIT_MSG== Closes #202. The migration (first commit): List.of, List.copyOf, Map.of, Stream.toList(), and an ArrayList or TreeSet where a builder was filled. Three places depended on how Guava's collections behave: Newlines.BREAKS is a List, since it is tried in order and Set.of keeps none; JavaInput.buildToks keeps its stop tokens in a HashSet, since it asks them about a null token kind; @Immutable is gone from five classes, since Error Prone cannot prove a java.util List or Map immutable. FileBasedTests lists its resources with Files.walk instead of Guava's ClassPath. The ban (second commit): forbidden-apis 3.11, the convention open-java-format.forbidden-apis-conventions, the signatures in config/forbidden-apis/guava-immutables.txt. It works on bytecode, so it also catches a var, a subclass such as ImmutableSortedSet, and a call on what a Guava method returns. The SPI is left out of the check and unchanged: FormatterService.getFormatReplacements returns ImmutableList, so that code compiled against an older SPI keeps linking. Its three implementations, FormatterServiceImpl, BootstrappingFormatterService and NativeImageFormatterService, have to declare it too; those methods carry a package-private @SuppressForbidden(reason = …) of their module, and the rest of each class is checked. Code that calls the method and keeps the result as a List passes the check. CI (third commit): the build job runs ./gradlew check rather than ./gradlew test, since forbidden-apis hangs off check. That adds Checkstyle and validatePlugins, which pass. The jdk jobs still run only the tests. Error Prone's DefaultCharset is an error (last commit). Its two findings were in FormatDiff, which decoded what a failed git command printed in the platform's charset, while a successful one's output is read as UTF-8; both are UTF-8 now. How it was checked ./gradlew check: 1422 tests in open-java-format (14 skipped, as on 21.X.X), 141 in the Gradle plugin, 65 in the IntelliJ plugin, then Checkstyle, forbidden-apis and validatePlugins. As the native job does, on GraalVM CE 25.0.2: -PnativeImage=true :open-java-format-native:nativeCompile, then :open-java-format-jdk-bootstrap:test :gradle-open-java-format:test against the image, 8 and 152 tests. ImmutableList.copyOf put into NativeImageFormatterService's toArgs() fails forbiddenApisMain (tried, then reverted). Possible downsides? Formatter.getFormatReplacements, Input.getPositionTokenMap and SnippetFormatter.format are public and now return List and RangeMap, so code compiled against the old ImmutableList and ImmutableRangeMap signatures would no longer link. Spotless's glue calls none of them (#202 lists what it links against). List.of and its kin throw on null elements and on contains(null), and Set.of and Map.of keep no order. The places the tests showed are fixed; a path no test reaches could still hit one of these. CheckForbiddenApis is not cacheable. It is up to date when nothing changed and takes some 0.03 s a module when it runs. A Checkstyle violation that CI used to let through now fails the build job.

Open Graph Description: Before this PR The code used Guava's ImmutableList, ImmutableMap and ImmutableSet throughout, although CLAUDE.md asks new code for plain java.util collections, and nothing stopped them from com...

X Description: Before this PR The code used Guava's ImmutableList, ImmutableMap and ImmutableSet throughout, although CLAUDE.md asks new code for plain java.util collections, and nothing stopped them from...

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

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/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:0e94c72c-70fd-30bd-ee44-e2d63918a13f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE02A:37DF03:6E3A05:923182:6AFBCC74
html-safe-nonce904ee122393aa91cbf5a22a03c8fe60373831ea8dce95c30d718260c6be7f7ea
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDJBOjM3REYwMzo2RTNBMDU6OTIzMTgyOjZBRkJDQzc0IiwidmlzaXRvcl9pZCI6IjYzNzk2NjkyNzg1MjU0NzU5NTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfaf0cb3bc5aa6a735e9efa5185b1a21bb7e2357ef14efd50ca0d35e273d82f55
hovercard-subject-tagpull_request:5281162538
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/openjavaformat/open-java-format/pull/218/files
twitter:imagehttps://avatars.githubusercontent.com/u/214171?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/214171?s=400&v=4
og:image:altBefore this PR The code used Guava's ImmutableList, ImmutableMap and ImmutableSet throughout, although CLAUDE.md asks new code for plain java.util collections, and nothing stopped them from com...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None18742cb872ec73544356e60359266b67aafece70c4ce008042e06227924cdd07
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
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

Links:

Skip to contenthttps://github.com/openjavaformat/open-java-format/pull/218/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenjavaformat%2Fopen-java-format%2Fpull%2F218%2Ffiles
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%2F218%2Ffiles
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%2Ffiles&source=header-repo&source_repo=openjavaformat%2Fopen-java-format
Reloadhttps://github.com/openjavaformat/open-java-format/pull/218/files
Reloadhttps://github.com/openjavaformat/open-java-format/pull/218/files
Reloadhttps://github.com/openjavaformat/open-java-format/pull/218/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Fopenjavaformat%2Fopen-java-format%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fopenjavaformat%2Fopen-java-format%2Fissues%2Fnew%2Fchoose
abashevhttps://github.com/abashev
21.X.Xhttps://github.com/openjavaformat/open-java-format/tree/21.X.X
abashev/replace-guava-immutablelist-immutablemap-immutabhttps://github.com/openjavaformat/open-java-format/tree/abashev/replace-guava-immutablelist-immutablemap-immutab
Conversation 0 https://github.com/openjavaformat/open-java-format/pull/218
Commits 6 https://github.com/openjavaformat/open-java-format/pull/218/commits
Checks 17 https://github.com/openjavaformat/open-java-format/pull/218/checks
Files changed https://github.com/openjavaformat/open-java-format/pull/218/files
Please reload this pagehttps://github.com/openjavaformat/open-java-format/pull/218/files
Replace Guava's immutable collections with java.util and ban them outside the SPI https://github.com/openjavaformat/open-java-format/pull/218/files#top
Show all changes 6 commits https://github.com/openjavaformat/open-java-format/pull/218/files
14d3ed0 Replace Guava's immutable collections with java.util ones abashev Nov 12, 2026 https://github.com/openjavaformat/open-java-format/pull/218/commits/14d3ed049f601e3dafd5bc03da63eb973fad4f3e
40df976 Ban Guava's immutable collections outside the SPI abashev Nov 12, 2026 https://github.com/openjavaformat/open-java-format/pull/218/commits/40df976d5c93ac013633bd8ecc6935808ba0795f
ed5bf34 Run check in CI's build job abashev Nov 12, 2026 https://github.com/openjavaformat/open-java-format/pull/218/commits/ed5bf348b4f0fb5521d0db2b08e3093f2413b8d9
7a2bac9 Collect a record's members with Stream.toList() abashev Nov 12, 2026 https://github.com/openjavaformat/open-java-format/pull/218/commits/7a2bac9dc8f9a163272a6a0c83ad5eae8b5fc3f2
8e26263 Make DefaultCharset an error abashev Nov 12, 2026 https://github.com/openjavaformat/open-java-format/pull/218/commits/8e2626337e8201756b5bd6d67e2e70e804378410
ef69118 Move JavaInput's comment on line ranges to InputOutput.ranges abashev Nov 12, 2026 https://github.com/openjavaformat/open-java-format/pull/218/commits/ef69118283b03bf036e234175400491179a88493
Clear filters https://github.com/openjavaformat/open-java-format/pull/218/files
Please reload this pagehttps://github.com/openjavaformat/open-java-format/pull/218/files
Please reload this pagehttps://github.com/openjavaformat/open-java-format/pull/218/files
ci.yml https://github.com/openjavaformat/open-java-format/pull/218/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
CLAUDE.md https://github.com/openjavaformat/open-java-format/pull/218/files#diff-6ebdb617a8104a7756d0cf36578ab01103dc9f07e4dc6feb751296b9c402faf7
README.md https://github.com/openjavaformat/open-java-format/pull/218/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
build.gradle https://github.com/openjavaformat/open-java-format/pull/218/files#diff-49a96e7eea8a94af862798a45174e6ac43eb4f8b4bd40759b5da63ba31ec3ef7
build.gradle https://github.com/openjavaformat/open-java-format/pull/218/files#diff-bc7a42af0a917334e95bb43c1ac3408e14a03a45ef844e044089d4dc233d5b74
open-java-format.error-prone-conventions.gradle https://github.com/openjavaformat/open-java-format/pull/218/files#diff-a28c5aad0622a176a0170206c743b02fc4e3f69f80f1fa41bb186f9558b91128
open-java-format.forbidden-apis-conventions.gradle https://github.com/openjavaformat/open-java-format/pull/218/files#diff-7e64d0bcfc1f82212466e1341a3ef49439afcaa362b24918ae5dfb23dcdeef86
guava-immutables.txt https://github.com/openjavaformat/open-java-format/pull/218/files#diff-f4f244bdf7ba75fdd0f4d55204961bb1143b891e627d99d6db45de25ca545a49
PalantirJavaFormatIdeaPlugin.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-d8d121c680e39c5accfdbf83df415e5a46b683b3073c4e1548d410571c12d0ee
XmlUtils.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-e1f49efc797cca1eb6b967c95ab99c2c99ccf417052be9ff803de63ea0c7c9aa
FormatDiff.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-e721e155a8fda3f1b637652f149091c137d2d7079bb1f7df6687668047b45e31
PalantirJavaFormatSpotlessPlugin.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-8f4f33649e12a25a98bbbad71ab01b165def4e80e3f25dce309b34d02e428a5c
FormatDiffTest.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-b10c300cf3e9d91e6627e36b29c66d7a670beac2e79dda14481e48787f75d85b
SnippetFormatter.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-e1b7d247807015f3192a79166590239b8d83a08698ec122632798363770a3375
PalantirJavaFormatFormattingService.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-9ccbca341d7f8c4b0f667baecc747dec39da2ca2bf4d281f5a984cd6f49e7e63
BootstrappingFormatterService.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-1b8393c2c6dbe9ef0676356eb5c44176a9daeb00039ae32c7144efee19655739
NativeImageFormatterService.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-40904604aa1c7b5d67c99d9e34c8341953bf0b26964835329219155463e35797
SuppressForbidden.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-4d97056376feacd242d27d10e7b0e4bd1c71a378db96d57ff83741b928d50b46
FormatterServicesTest.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-124f2692d8cf2b1114341e748c10142cb70d873610f7fb86fe1497251f1442e7
FormattingError.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-ece0a815cb9e3c9cd76125044dc507d5370a6d9b2358e0789d0933d669ea51f8
Input.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-0d56068fce39f162055cbf8e619acd41b87f803823fffa97c2b9af2afddbd65a
InputOutput.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-7c4e939e57a468f216d212e872995930a3e6402dd993f54cb6729b367b1da97f
Newlines.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-631c1cdd2fedde2aea0a2d1d26fdc818c7e34253ecd91315730d25ba6039bce2
OpsBuilder.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-8fde53d5c7976d369ff9f2bb92828e5db2c64633df01fc1c75de795586ea6cd9
Level.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-fa5e6dffd4fb7354b4706d7c0d77bcaa3de70917d0983a2c8ed1c575eed87611
Token.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-d13da313640bb7d9503c93fb5c6c5607893de006d1b6ecae54986d6db8e0c045
CommandLineOptions.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-70348b95bc45e5215c8574e285686bec7170abdbac69c87748c67dea650f0842
CommandLineOptionsParser.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-c3171a74d6665751289846dcdbb92ae52c91172f36657c5a9e56bf67617643e0
DebugRenderer.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-ed9267cbb012ef7a39bd1e0098c8a322bf4d2f7d57eb1f2224293d8eccdfb53e
DimensionHelpers.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-0183331bf6f1f1d71dd542d25fabc201607931e6d529b8f87c00339009bdc748
Formatter.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-fd61ca102fae096ccb3dcee9925025bec1ea7d5ab586817c56f186ffe2b705f0
FormatterServiceImpl.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-4e56414cb6a91b2c45fe09d8d4524e9a3b0a13a8c4fa4255c698ed213a8d2961
ImportOrderer.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-30ab9c8be89d4e38b04a9c854130d3a2df5f40b3b37124b32e813d4c5793062d
InputMetadata.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-6efd37b16accfe1da12b2262da34616640b1580d0acc8d6715a2b33c0974bd07
InputMetadataBuilder.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-7797cbb337e5ee21c2790fbdb55b2131bc37a46ce930f21315abc4fe644785dd
JavaCommentsHelper.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-421ad18fa6b5e59b0bf65aaf7ecf92f4ddacb70c33583d23eaf1d5cd5b7e1323
JavaInput.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-516ea73494b4274aa0b32022b306b43a94f72da3f627989e34ad54ee9827144e
JavaInputAstVisitor.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-4c56c3f402a5387ffa98b467fa35d91986b454b87e4a1b47b11da48e30272fc3
JavaOutput.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-d8844f38acd02a34d15f174901783e7f3577a4b3cb9b6694de7fe1e05374afb9
JavacTokens.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-26a8c8020aa2e3c2736c234008b4c0441348b8aed8a5e1337719e24bb6fb83ea
ModifierOrderer.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-4ca4542a2cdbaea2771802d24e9af48d5ba8493ade0269e8e828d0a3a9e3b10e
StringWrapper.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-e1a3ba2697d8a173c2a21309f93db0dd44e1d34a557cb37877fdafae42b26cd6
SuppressForbidden.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-76704e4accf4cf1622981970fe5b7be3b656077f0c85e9693d3eb1a74b052e3b
Java14InputAstVisitor.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-bbb04740c88f531f9899525cfb990c73f7319855aea4c3be6a7e41ed369f9913
JavadocFormatter.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-3fed08a12d2193e142ba3ffade9f7874fb27a933e7a1e040e33c95ad6102122b
JavadocLexer.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-4c525c8e93024d87ee499da472179e93fffbacc0075473d0ae40b09d959d1c40
JavadocWriter.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-de4a419665098250349ae1bf84b759c76ddafdc46bb5bc7b23f2e89fafcebab1
NewlinesTest.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-7ff2b80df40c8c39b0917986eb74572104e7488a2e9405d90018c79b9506df43
AospImportStyleTest.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-8040550270f702fd990273e1c62cbba9b6cad5aaff3dfeb50c0372205bca0ba0
FileBasedTests.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-37a9ba04f49a2468318e11b2f38928b3751a1bb7b3c52f0c870eeba55be4b3be
GoogleImportStyleTest.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-3a14347d3725873384c795064bef6d9130c86dd49a66d073745e50412c3c792a
MainTest.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-378d7ba99b2237239522ae86ccba60a29d80eb6365d074a0b3fb460d6b3aab7b
PartialFormattingTest.java https://github.com/openjavaformat/open-java-format/pull/218/files#diff-57eee90b3b5d185ec5b02426353d882a8c320812ec00e01f983c13b2133f6cb5
.github/workflows/ci.ymlhttps://github.com/openjavaformat/open-java-format/pull/218/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
View file https://github.com/openjavaformat/open-java-format/blob/ef69118283b03bf036e234175400491179a88493/.github/workflows/ci.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openjavaformat/open-java-format/pull/218/{{ revealButtonHref }}
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
CLAUDE.mdhttps://github.com/openjavaformat/open-java-format/pull/218/files#diff-6ebdb617a8104a7756d0cf36578ab01103dc9f07e4dc6feb751296b9c402faf7
View file https://github.com/openjavaformat/open-java-format/blob/ef69118283b03bf036e234175400491179a88493/CLAUDE.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openjavaformat/open-java-format/pull/218/{{ revealButtonHref }}
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-6ebdb617a8104a7756d0cf36578ab01103dc9f07e4dc6feb751296b9c402faf7
README.mdhttps://github.com/openjavaformat/open-java-format/pull/218/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/openjavaformat/open-java-format/blob/ef69118283b03bf036e234175400491179a88493/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openjavaformat/open-java-format/pull/218/{{ revealButtonHref }}
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
build.gradlehttps://github.com/openjavaformat/open-java-format/pull/218/files#diff-49a96e7eea8a94af862798a45174e6ac43eb4f8b4bd40759b5da63ba31ec3ef7
View file https://github.com/openjavaformat/open-java-format/blob/ef69118283b03bf036e234175400491179a88493/build.gradle
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openjavaformat/open-java-format/pull/218/{{ revealButtonHref }}
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-49a96e7eea8a94af862798a45174e6ac43eb4f8b4bd40759b5da63ba31ec3ef7
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-49a96e7eea8a94af862798a45174e6ac43eb4f8b4bd40759b5da63ba31ec3ef7
buildSrc/build.gradlehttps://github.com/openjavaformat/open-java-format/pull/218/files#diff-bc7a42af0a917334e95bb43c1ac3408e14a03a45ef844e044089d4dc233d5b74
View file https://github.com/openjavaformat/open-java-format/blob/ef69118283b03bf036e234175400491179a88493/buildSrc/build.gradle
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openjavaformat/open-java-format/pull/218/{{ revealButtonHref }}
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-bc7a42af0a917334e95bb43c1ac3408e14a03a45ef844e044089d4dc233d5b74
buildSrc/src/main/groovy/open-java-format.error-prone-conventions.gradlehttps://github.com/openjavaformat/open-java-format/pull/218/files#diff-a28c5aad0622a176a0170206c743b02fc4e3f69f80f1fa41bb186f9558b91128
View file https://github.com/openjavaformat/open-java-format/blob/ef69118283b03bf036e234175400491179a88493/buildSrc/src/main/groovy/open-java-format.error-prone-conventions.gradle
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openjavaformat/open-java-format/pull/218/{{ revealButtonHref }}
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-a28c5aad0622a176a0170206c743b02fc4e3f69f80f1fa41bb186f9558b91128
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-a28c5aad0622a176a0170206c743b02fc4e3f69f80f1fa41bb186f9558b91128
buildSrc/src/main/groovy/open-java-format.forbidden-apis-conventions.gradlehttps://github.com/openjavaformat/open-java-format/pull/218/files#diff-7e64d0bcfc1f82212466e1341a3ef49439afcaa362b24918ae5dfb23dcdeef86
View file https://github.com/openjavaformat/open-java-format/blob/ef69118283b03bf036e234175400491179a88493/buildSrc/src/main/groovy/open-java-format.forbidden-apis-conventions.gradle
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openjavaformat/open-java-format/pull/218/{{ revealButtonHref }}
config/forbidden-apis/guava-immutables.txthttps://github.com/openjavaformat/open-java-format/pull/218/files#diff-f4f244bdf7ba75fdd0f4d55204961bb1143b891e627d99d6db45de25ca545a49
View file https://github.com/openjavaformat/open-java-format/blob/ef69118283b03bf036e234175400491179a88493/config/forbidden-apis/guava-immutables.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openjavaformat/open-java-format/pull/218/{{ revealButtonHref }}
...a-format/src/main/groovy/com/palantir/javaformat/gradle/PalantirJavaFormatIdeaPlugin.javahttps://github.com/openjavaformat/open-java-format/pull/218/files#diff-d8d121c680e39c5accfdbf83df415e5a46b683b3073c4e1548d410571c12d0ee
View file https://github.com/openjavaformat/open-java-format/blob/ef69118283b03bf036e234175400491179a88493/gradle-open-java-format/src/main/groovy/com/palantir/javaformat/gradle/PalantirJavaFormatIdeaPlugin.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openjavaformat/open-java-format/pull/218/{{ revealButtonHref }}
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-d8d121c680e39c5accfdbf83df415e5a46b683b3073c4e1548d410571c12d0ee
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-d8d121c680e39c5accfdbf83df415e5a46b683b3073c4e1548d410571c12d0ee
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-d8d121c680e39c5accfdbf83df415e5a46b683b3073c4e1548d410571c12d0ee
gradle-open-java-format/src/main/groovy/com/palantir/javaformat/gradle/XmlUtils.javahttps://github.com/openjavaformat/open-java-format/pull/218/files#diff-e1f49efc797cca1eb6b967c95ab99c2c99ccf417052be9ff803de63ea0c7c9aa
View file https://github.com/openjavaformat/open-java-format/blob/ef69118283b03bf036e234175400491179a88493/gradle-open-java-format/src/main/groovy/com/palantir/javaformat/gradle/XmlUtils.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openjavaformat/open-java-format/pull/218/{{ revealButtonHref }}
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-e1f49efc797cca1eb6b967c95ab99c2c99ccf417052be9ff803de63ea0c7c9aa
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-e1f49efc797cca1eb6b967c95ab99c2c99ccf417052be9ff803de63ea0c7c9aa
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-e1f49efc797cca1eb6b967c95ab99c2c99ccf417052be9ff803de63ea0c7c9aa
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-e1f49efc797cca1eb6b967c95ab99c2c99ccf417052be9ff803de63ea0c7c9aa
gradle-open-java-format/src/main/java/com/palantir/javaformat/gradle/FormatDiff.javahttps://github.com/openjavaformat/open-java-format/pull/218/files#diff-e721e155a8fda3f1b637652f149091c137d2d7079bb1f7df6687668047b45e31
View file https://github.com/openjavaformat/open-java-format/blob/ef69118283b03bf036e234175400491179a88493/gradle-open-java-format/src/main/java/com/palantir/javaformat/gradle/FormatDiff.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openjavaformat/open-java-format/pull/218/{{ revealButtonHref }}
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-e721e155a8fda3f1b637652f149091c137d2d7079bb1f7df6687668047b45e31
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-e721e155a8fda3f1b637652f149091c137d2d7079bb1f7df6687668047b45e31
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-e721e155a8fda3f1b637652f149091c137d2d7079bb1f7df6687668047b45e31
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-e721e155a8fda3f1b637652f149091c137d2d7079bb1f7df6687668047b45e31
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-e721e155a8fda3f1b637652f149091c137d2d7079bb1f7df6687668047b45e31
...format/src/main/java/com/palantir/javaformat/gradle/PalantirJavaFormatSpotlessPlugin.javahttps://github.com/openjavaformat/open-java-format/pull/218/files#diff-8f4f33649e12a25a98bbbad71ab01b165def4e80e3f25dce309b34d02e428a5c
View file https://github.com/openjavaformat/open-java-format/blob/ef69118283b03bf036e234175400491179a88493/gradle-open-java-format/src/main/java/com/palantir/javaformat/gradle/PalantirJavaFormatSpotlessPlugin.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openjavaformat/open-java-format/pull/218/{{ revealButtonHref }}
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-8f4f33649e12a25a98bbbad71ab01b165def4e80e3f25dce309b34d02e428a5c
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-8f4f33649e12a25a98bbbad71ab01b165def4e80e3f25dce309b34d02e428a5c
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-8f4f33649e12a25a98bbbad71ab01b165def4e80e3f25dce309b34d02e428a5c
gradle-open-java-format/src/test/java/com/palantir/javaformat/gradle/FormatDiffTest.javahttps://github.com/openjavaformat/open-java-format/pull/218/files#diff-b10c300cf3e9d91e6627e36b29c66d7a670beac2e79dda14481e48787f75d85b
View file https://github.com/openjavaformat/open-java-format/blob/ef69118283b03bf036e234175400491179a88493/gradle-open-java-format/src/test/java/com/palantir/javaformat/gradle/FormatDiffTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openjavaformat/open-java-format/pull/218/{{ revealButtonHref }}
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-b10c300cf3e9d91e6627e36b29c66d7a670beac2e79dda14481e48787f75d85b
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-b10c300cf3e9d91e6627e36b29c66d7a670beac2e79dda14481e48787f75d85b
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-b10c300cf3e9d91e6627e36b29c66d7a670beac2e79dda14481e48787f75d85b
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-b10c300cf3e9d91e6627e36b29c66d7a670beac2e79dda14481e48787f75d85b
...va-format-eclipse-plugin/src/main/java/com/palantir/javaformat/java/SnippetFormatter.javahttps://github.com/openjavaformat/open-java-format/pull/218/files#diff-e1b7d247807015f3192a79166590239b8d83a08698ec122632798363770a3375
View file https://github.com/openjavaformat/open-java-format/blob/ef69118283b03bf036e234175400491179a88493/open-java-format-eclipse-plugin/src/main/java/com/palantir/javaformat/java/SnippetFormatter.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openjavaformat/open-java-format/pull/218/{{ revealButtonHref }}
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-e1b7d247807015f3192a79166590239b8d83a08698ec122632798363770a3375
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-e1b7d247807015f3192a79166590239b8d83a08698ec122632798363770a3375
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-e1b7d247807015f3192a79166590239b8d83a08698ec122632798363770a3375
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-e1b7d247807015f3192a79166590239b8d83a08698ec122632798363770a3375
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-e1b7d247807015f3192a79166590239b8d83a08698ec122632798363770a3375
...n/src/main/java/com/palantir/javaformat/intellij/PalantirJavaFormatFormattingService.javahttps://github.com/openjavaformat/open-java-format/pull/218/files#diff-9ccbca341d7f8c4b0f667baecc747dec39da2ca2bf4d281f5a984cd6f49e7e63
View file https://github.com/openjavaformat/open-java-format/blob/ef69118283b03bf036e234175400491179a88493/open-java-format-idea-plugin/src/main/java/com/palantir/javaformat/intellij/PalantirJavaFormatFormattingService.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openjavaformat/open-java-format/pull/218/{{ revealButtonHref }}
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-9ccbca341d7f8c4b0f667baecc747dec39da2ca2bf4d281f5a984cd6f49e7e63
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-9ccbca341d7f8c4b0f667baecc747dec39da2ca2bf4d281f5a984cd6f49e7e63
https://github.com/openjavaformat/open-java-format/actions/runs/43271508965/job/131368957278?pr=218
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-9ccbca341d7f8c4b0f667baecc747dec39da2ca2bf4d281f5a984cd6f49e7e63
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-9ccbca341d7f8c4b0f667baecc747dec39da2ca2bf4d281f5a984cd6f49e7e63
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-9ccbca341d7f8c4b0f667baecc747dec39da2ca2bf4d281f5a984cd6f49e7e63
...tstrap/src/main/java/com/palantir/javaformat/bootstrap/BootstrappingFormatterService.javahttps://github.com/openjavaformat/open-java-format/pull/218/files#diff-1b8393c2c6dbe9ef0676356eb5c44176a9daeb00039ae32c7144efee19655739
View file https://github.com/openjavaformat/open-java-format/blob/ef69118283b03bf036e234175400491179a88493/open-java-format-jdk-bootstrap/src/main/java/com/palantir/javaformat/bootstrap/BootstrappingFormatterService.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openjavaformat/open-java-format/pull/218/{{ revealButtonHref }}
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-1b8393c2c6dbe9ef0676356eb5c44176a9daeb00039ae32c7144efee19655739
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-1b8393c2c6dbe9ef0676356eb5c44176a9daeb00039ae32c7144efee19655739
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-1b8393c2c6dbe9ef0676356eb5c44176a9daeb00039ae32c7144efee19655739
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-1b8393c2c6dbe9ef0676356eb5c44176a9daeb00039ae32c7144efee19655739
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-1b8393c2c6dbe9ef0676356eb5c44176a9daeb00039ae32c7144efee19655739
...ootstrap/src/main/java/com/palantir/javaformat/bootstrap/NativeImageFormatterService.javahttps://github.com/openjavaformat/open-java-format/pull/218/files#diff-40904604aa1c7b5d67c99d9e34c8341953bf0b26964835329219155463e35797
View file https://github.com/openjavaformat/open-java-format/blob/ef69118283b03bf036e234175400491179a88493/open-java-format-jdk-bootstrap/src/main/java/com/palantir/javaformat/bootstrap/NativeImageFormatterService.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openjavaformat/open-java-format/pull/218/{{ revealButtonHref }}
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-40904604aa1c7b5d67c99d9e34c8341953bf0b26964835329219155463e35797
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-40904604aa1c7b5d67c99d9e34c8341953bf0b26964835329219155463e35797
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-40904604aa1c7b5d67c99d9e34c8341953bf0b26964835329219155463e35797
https://github.com/openjavaformat/open-java-format/pull/218/files#diff-40904604aa1c7b5d67c99d9e34c8341953bf0b26964835329219155463e35797
Please reload this pagehttps://github.com/openjavaformat/open-java-format/pull/218/files
Please reload this pagehttps://github.com/openjavaformat/open-java-format/pull/218/files
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.