Skip to content

Commit abc85a8

Browse files
committed
Fix kotlin spotless check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
1 parent 212edbf commit abc85a8

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

app/src/main/java/com/nextcloud/client/jobs/offlineOperations/OfflineOperationsWorker.kt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,13 @@ class OfflineOperationsWorker(
7373
while (operations.isNotEmpty()) {
7474
val operation = operations.first()
7575
val result = executeOperation(operation, client)
76-
val isSuccess = handleResult(operation, totalOperations, currentSuccessfulOperationIndex, result?.first, result?.second)
76+
val isSuccess = handleResult(
77+
operation,
78+
totalOperations,
79+
currentSuccessfulOperationIndex,
80+
result?.first,
81+
result?.second
82+
)
7783

7884
operations = if (isSuccess) {
7985
currentSuccessfulOperationIndex++
@@ -128,7 +134,7 @@ class OfflineOperationsWorker(
128134
totalOperations: Int,
129135
currentSuccessfulOperationIndex: Int,
130136
result: RemoteOperationResult<*>?,
131-
remoteOperation: RemoteOperation<*>?,
137+
remoteOperation: RemoteOperation<*>?
132138
): Boolean {
133139
if (result == null) {
134140
Log_OC.d(TAG, "Operation not completed, result is null")

0 commit comments

Comments
 (0)