1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-09-09 10:19:41 +02:00

errorprone: Enable MethodCanBeStatic

This commit is contained in:
Florian Schmaus 2019-09-07 23:01:39 +02:00
parent 870d1a7238
commit 34f1c2b79e
15 changed files with 38 additions and 37 deletions

View file

@ -203,7 +203,11 @@ allprojects {
'-Werror',
]
options.errorprone {
error("UnusedVariable", "UnusedMethod")
error(
"UnusedVariable",
"UnusedMethod",
"MethodCanBeStatic",
)
errorproneArgs = [
// Disable errorprone checks
'-Xep:TypeParameterUnusedInFormals:OFF',