googleapis / googleapis/google-cloud-java

[java-spanner] Errorprone adoption

Open
#12,248 0 comments 0 reactions 1 assignee Claimed by @rahul2393 View on GitHub
api: spanner
Dominant language
Java
Stars
2.1k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
154

Description

Adopt the [errorprone plugin](https://errorprone.info/) 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.