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

Experiment trying to add error-prone and null away #13741

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

Conversation

gortiz
Copy link
Contributor

@gortiz gortiz commented Aug 2, 2024

This PR is an attempt to add error-prone static checker to be able to detect issues in the code.

This is not ready to merge given in only fixed some of the errors detected (36 files so far). I just fixed the more problematic errors. Several more warnings (including null handling) were reported.

Some errors are clearly problematic in production, including some infinite recursions while other are just informative (ie there are ton of cases where we call Preconditions with {} instead of %s, which means the message will not contain the argument).

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