From 8adeab0ddd4caac494bea6e22f4b0ef57233101d Mon Sep 17 00:00:00 2001 From: ariskotsomitopoulos Date: Tue, 11 Jan 2022 16:14:26 +0200 Subject: [PATCH] - fix lint error --- .../java/org/matrix/android/sdk/common/RetryTestRule.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matrix-sdk-android/src/androidTest/java/org/matrix/android/sdk/common/RetryTestRule.kt b/matrix-sdk-android/src/androidTest/java/org/matrix/android/sdk/common/RetryTestRule.kt index c4cc32d8e93..b16ab98e6c9 100644 --- a/matrix-sdk-android/src/androidTest/java/org/matrix/android/sdk/common/RetryTestRule.kt +++ b/matrix-sdk-android/src/androidTest/java/org/matrix/android/sdk/common/RetryTestRule.kt @@ -27,10 +27,10 @@ import org.junit.runners.model.Statement class RetryTestRule(val retryCount: Int = 3) : TestRule { override fun apply(base: Statement, description: Description): Statement { - return statement(base, description) + return statement(base) } - private fun statement(base: Statement, description: Description): Statement { + private fun statement(base: Statement): Statement { return object : Statement() { @Throws(Throwable::class) override fun evaluate() {