Skip to content

Errorprone adoption #3620

@schcamille

Description

@schcamille

Adopt the errorprone plugin as described at https://errorprone.info/docs/installation#maven. The warnings can be addressed using the @SuppressWarnings annotation, or have entire classes of warnings turned off.

This will improve code quality and reduce drift with Google's monorepo. This will also enable other interesting features, such as using @CompileTimeConstant on some of the parameters of the statement sql builder, to encouraging parameterised queries to lower the risk of introducing SQL injection vulnerabilities.

Metadata

Metadata

Assignees

Labels

api: spannerIssues related to the googleapis/java-spanner API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions