Enable error-prone check for GuardedBy, fix errors (#1621)

This commit is contained in:
Daniel Chao
2026-05-26 13:39:15 -07:00
committed by GitHub
parent 72948e50fe
commit b2f005d11d
7 changed files with 92 additions and 55 deletions
@@ -38,6 +38,7 @@ nullaway { onlyNullMarked = true }
tasks.withType<JavaCompile>().configureEach {
options.errorprone.disableAllChecks = true
options.errorprone.check("StringCaseLocaleUsage", CheckSeverity.ERROR)
options.errorprone.check("GuardedBy", CheckSeverity.ERROR)
options.errorprone.nullaway {
error()
onlyNullMarked = true