From c7fc92309bdda5242209a0b011237fd96f9e4676 Mon Sep 17 00:00:00 2001 From: alperozturk Date: Mon, 2 Sep 2024 09:34:49 +0200 Subject: [PATCH] Fix kotlin spotless check Signed-off-by: alperozturk --- .../jobs/offlineOperations/OfflineOperationsWorker.kt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/nextcloud/client/jobs/offlineOperations/OfflineOperationsWorker.kt b/app/src/main/java/com/nextcloud/client/jobs/offlineOperations/OfflineOperationsWorker.kt index 2f2641e5cce7..c974e4f15e99 100644 --- a/app/src/main/java/com/nextcloud/client/jobs/offlineOperations/OfflineOperationsWorker.kt +++ b/app/src/main/java/com/nextcloud/client/jobs/offlineOperations/OfflineOperationsWorker.kt @@ -73,7 +73,13 @@ class OfflineOperationsWorker( while (operations.isNotEmpty()) { val operation = operations.first() val result = executeOperation(operation, client) - val isSuccess = handleResult(operation, totalOperations, currentSuccessfulOperationIndex, result?.first, result?.second) + val isSuccess = handleResult( + operation, + totalOperations, + currentSuccessfulOperationIndex, + result?.first, + result?.second + ) operations = if (isSuccess) { currentSuccessfulOperationIndex++ @@ -128,7 +134,7 @@ class OfflineOperationsWorker( totalOperations: Int, currentSuccessfulOperationIndex: Int, result: RemoteOperationResult<*>?, - remoteOperation: RemoteOperation<*>?, + remoteOperation: RemoteOperation<*>? ): Boolean { if (result == null) { Log_OC.d(TAG, "Operation not completed, result is null")