Skip to content

Cut comments from #857 that repeat the code or explain its history - #869

Merged
oryan-block merged 2 commits into
masterfrom
cleanup/422-comments
Oct 18, 2026
Merged

oryan-block merged 2 commits into
masterfrom
cleanup/422-comments

Conversation

@oryan-block

Copy link
Copy Markdown
Collaborator

Checklist

  • Pull requests follows the contribution guide
  • New or modified functionality is covered by tests

Description

Stacked on #857 so its review isn't mixed with this cleanup. Merge after #857, or retarget to master once it's in.

#857 added a lot of comments that say what the code right below already says, explain why we wrote our own code that way, or give history ("as before", "used to run on the first query"). That reasoning belongs in the PR, not the code, so this removes them. Same for issue links in the tests that only record where a fixture came from.

Comments about things we can't change stay: javac, Jackson, JDK proxies, kotlin-reflect and the graphql-java 25 vs 26 nullability difference. So do the 15.0.0 TODOs and the public API docs.

The only code change is renaming the private SchemaClassScanner#parameterize to withSealedTypeArguments, since the old name didn't say what it parameterizes with.

mvn clean verify passes on JDK 25.

Rename SchemaClassScanner.parameterize to withSealedTypeArguments.
Base automatically changed from bugfix/422 to master October 18, 2026 20:36
@sonarqubecloud

Copy link
Copy Markdown

@oryan-block
oryan-block merged commit 5aa2c60 into master Oct 18, 2026
7 checks passed
@oryan-block
oryan-block deleted the cleanup/422-comments branch October 18, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant