From 4416ba7c9c024a48c219865e4053d446b2f5071f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Augusto=20C=C3=A9sar=20Dias?= Date: Thu, 14 Dec 2023 14:56:05 +0100 Subject: [PATCH] detekt --- .../kotlin/com/wire/kalium/monkeys/MonkeyApplication.kt | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/monkeys/src/main/kotlin/com/wire/kalium/monkeys/MonkeyApplication.kt b/monkeys/src/main/kotlin/com/wire/kalium/monkeys/MonkeyApplication.kt index 4dacb1f4568..c1fd440ad19 100644 --- a/monkeys/src/main/kotlin/com/wire/kalium/monkeys/MonkeyApplication.kt +++ b/monkeys/src/main/kotlin/com/wire/kalium/monkeys/MonkeyApplication.kt @@ -110,7 +110,7 @@ class MonkeyApplication : CliktCommand(allowMultipleSubcommands = true) { logger.e("Error running Infinite Monkeys", e) } finally { eventProcessor.releaseResources() - kaliumCacheFolders.forEach{ File(it).deleteRecursively() } + kaliumCacheFolders.forEach { File(it).deleteRecursively() } exitProcess(0) } } @@ -128,12 +128,7 @@ class MonkeyApplication : CliktCommand(allowMultipleSubcommands = true) { logger.i("Creating prefixed groups") testData.conversationDistribution.forEach { (prefix, config) -> ConversationPool.createPrefixedConversations( - coreLogic, - prefix, - config.groupCount, - config.userCount, - config.protocol, - monkeyPool + coreLogic, prefix, config.groupCount, config.userCount, config.protocol, monkeyPool ).forEach { eventChannel.send(Event(it.owner, EventType.CreateConversation(it))) }