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:
parent
870d1a7238
commit
34f1c2b79e
15 changed files with 38 additions and 37 deletions
|
@ -203,7 +203,11 @@ allprojects {
|
|||
'-Werror',
|
||||
]
|
||||
options.errorprone {
|
||||
error("UnusedVariable", "UnusedMethod")
|
||||
error(
|
||||
"UnusedVariable",
|
||||
"UnusedMethod",
|
||||
"MethodCanBeStatic",
|
||||
)
|
||||
errorproneArgs = [
|
||||
// Disable errorprone checks
|
||||
'-Xep:TypeParameterUnusedInFormals:OFF',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue