Skip to content

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