Skip to content

Commit

Permalink
Fix kotlin spotless check
Browse files Browse the repository at this point in the history
Signed-off-by: alperozturk <[email protected]>
  • Loading branch information
alperozturk96 committed Sep 2, 2024
1 parent 723177e commit c7fc923
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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++
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit c7fc923

Please sign in to comment.