Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report once for method or constructor parameters that has no null annotation #20

Draft
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

wzieba
Copy link

@wzieba wzieba commented Sep 24, 2024

Description

Report a lint issue whenever a method or a constructor has any parameter without no nullability annotation.

It replaces the previous behavior of reporting a separate issue for each parameter that has no nullability annotation.

Reasoning is to minimize the number of reports we do.

Whenever method signature or constructor has multiple "no null annotation" violations, we want to have a single report, instead of multiple, to reduce potential noise.
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