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

style: add Error Prone and suppress existing errors #3621

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

schcamille
Copy link

Add Errorprone and suppress warnings as appropriate.

I have suppressed a few checks using flags, namely CheckReturnValue, ProtoBuilderReturnValueIgnored and ReturnValueIgnored because the errors looked like false positives/less useful. I've also fixed some errors when it was very straightforward.

The suppressed errors can be fixed in later commits/PRs but at least new code is covered.

This PR should be a no-op in term of actual code behaviour and runtime execution.

Fixes #3620 ☕️

@schcamille schcamille requested review from a team as code owners January 30, 2025 19:00
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: spanner Issues related to the googleapis/java-spanner API. labels Jan 30, 2025
@schcamille schcamille changed the title Add errorprone and suppress existing errors style: add Error Prone and suppress existing errors Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/java-spanner API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Errorprone adoption
1 participant