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

This commit is contained in:
Daniel Chao authored and GitHub committed 2026-05-26 13:39:15 -07:00
1 parent 72948e50fe
commit b2f005d11d
7 files changed
+92 -55

No files matched your search

@@ -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