Skip to content

Skip nested java.lang types in AvoidCommonTypeNames - #6023

Open
AzazelSensei wants to merge 1 commit into
google:masterfrom
AzazelSensei:fix/avoid-common-type-names-nested-java-lang
Open

Skip nested java.lang types in AvoidCommonTypeNames#6023
AzazelSensei wants to merge 1 commit into
google:masterfrom
AzazelSensei:fix/avoid-common-type-names-nested-java-lang

Conversation

@AzazelSensei

Copy link
Copy Markdown

AvoidCommonTypeNames warned that a top-level Info clashed with java.lang.ProcessHandle.Info under --release. Those nested types are not auto-imported by simple name, so I dropped them from the clash set.

Fixes #5957

AvoidCommonTypeNames warned that a top-level Info clashed with
ProcessHandle.Info when compiling with --release. Nested types
are not auto-imported by simple name, so skip them.
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.

AvoidCommonTypeNames false positives when using --release

1 participant