Skip to content

Commit 7edc13c

Browse files
committed
MOPPAND-1700 KotlinLint formatting.
1 parent 383ed13 commit 7edc13c

File tree

1 file changed

+24
-8
lines changed

1 file changed

+24
-8
lines changed

crypto-lib/src/main/kotlin/ee/ria/DigiDoc/cryptolib/CryptoContainer.kt

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,13 @@ class CryptoContainer
218218
recipients = addressees
219219
}
220220

221-
return create(context, file, dataFiles, recipients,
221+
return create(
222+
context,
223+
file,
224+
dataFiles,
225+
recipients,
222226
decrypted = false,
223-
encrypted = true
227+
encrypted = true,
224228
)
225229
}
226230

@@ -250,9 +254,13 @@ class CryptoContainer
250254
}
251255
}
252256

253-
return create(context, file, dataFiles, recipients,
257+
return create(
258+
context,
259+
file,
260+
dataFiles,
261+
recipients,
254262
decrypted = false,
255-
encrypted = true
263+
encrypted = true,
256264
)
257265
}
258266

@@ -325,9 +333,13 @@ class CryptoContainer
325333
throw CryptoException("Failed to finish decryption")
326334
}
327335

328-
return create(context, file, dataFiles, recipients,
336+
return create(
337+
context,
338+
file,
339+
dataFiles,
340+
recipients,
329341
decrypted = true,
330-
encrypted = false
342+
encrypted = false,
331343
)
332344
}
333345

@@ -475,9 +487,13 @@ class CryptoContainer
475487
return if (!forceCreate && dataFiles.size == 1 && isFirstDataFileContainer) {
476488
open(context, containerFileWithExtension)
477489
} else {
478-
create(context, containerFileWithExtension, dataFiles, listOf(),
490+
create(
491+
context,
492+
containerFileWithExtension,
493+
dataFiles,
494+
listOf(),
479495
decrypted = false,
480-
encrypted = false
496+
encrypted = false,
481497
)
482498
}
483499
}

0 commit comments

Comments
 (0)