Skip to content

feat: Reduce redundant imports - #950

Open
rahulsom wants to merge 1 commit into
Netflix:masterfrom
rahulsom:avoid-javalang-imports
Open

feat: Reduce redundant imports#950
rahulsom wants to merge 1 commit into
Netflix:masterfrom
rahulsom:avoid-javalang-imports

Conversation

@rahulsom

@rahulsom rahulsom commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

The generated code used to include a lot of java.lang. imports.
Unless there's a conflicting wildcard import that causes confusion, they are redundant.

This change makes JavaPoet skip those imports in generated code.

The generated code used to include a lot of `java.lang.` imports.
Unless there's a conflicting wildcard import that causes confusion, they are redundant.

This change makes JavaPoet skip those imports in generated code.
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