From a4ebdfec8c8d13eac737c245213fa22d9b3813cd Mon Sep 17 00:00:00 2001 From: dankito Date: Sat, 2 Jan 2021 22:55:43 +0100 Subject: [PATCH] Added return to make it clearer that code below doesn't get called --- .../commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt index fdbd64fc..e254bc1a 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt @@ -127,6 +127,7 @@ open class FinTsClient( if (countAccountsSupportingRetrievingTransactions == 0) { addAccountDone(bank, getAccountsResponse, retrievedAccountData, callback) + return // no necessary just to make it clearer that code below doesn't get called } accountsSupportingRetrievingTransactions.forEach { account ->