googleapis / googleapis/google-cloud-java

[java-spanner] Errorprone adoption

Ouverte
#12,248 0 commentaires 0 réactions 1 personne assignée Réclamée par @rahul2393 Voir sur GitHub
api: spanner
Langage dominant
Java
Étoiles
2.1k
Forks
1.2k
Merge moyen
1 j 23 h
PR mergées (30 j)
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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.