googleapis / googleapis/google-cloud-java
[java-spanner] Errorprone adoption
Open
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
Assessment
This issue has not been assessed yet.