Skip to content

Commit 2e0ca5b

Browse files
author
Vincent Potucek
committed
[prone] Add UnusedParameters
1 parent 7532d1b commit 2e0ca5b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

gradle/error-prone.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ dependencies {
1111
tasks.withType(JavaCompile).configureEach {
1212
options.errorprone {
1313
disableAllChecks = true
14-
error("RedundantStringConversion")
14+
error("UnusedParameter")
1515
if (!getenv().containsKey("CI") && getenv("IN_PLACE")?.toBoolean()) {
1616
errorproneArgs.addAll(
1717
"-XepPatchLocation:IN_PLACE",
18-
"-XepPatchChecks:RedundantStringConversion"
18+
"-XepPatchChecks:UnusedParameter"
1919
)
2020
}
2121
}

0 commit comments

Comments
 (0)