googleapis / googleapis/google-cloud-java

[java-spanner] Errorprone adoption

Offen
#12,248 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @rahul2393 Auf GitHub ansehen
api: spanner
Vorherrschende Sprache
Java
Sterne
2.1k
Forks
1.2k
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
154

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.