googleapis / googleapis/google-cloud-java

[java-spanner] Errorprone adoption

Đang mở
#12,248 0 bình luận 0 reaction 1 người được giao Được @rahul2393 nhận Xem trên GitHub
api: spanner
Ngôn ngữ chính
Java
Star
2.1k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
157

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.