Enable error-prone check for GuardedBy, fix errors (#1621)
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user