From b2374d2ac2b1d16c8e004fb40813ecffaf9d9911 Mon Sep 17 00:00:00 2001 From: dankito Date: Wed, 27 May 2020 12:23:33 +0200 Subject: [PATCH] Removed unused getTransactionsFromResponse() --- .../net/dankito/banking/fints/FinTsClient.kt | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/fints4k/src/main/kotlin/net/dankito/banking/fints/FinTsClient.kt b/fints4k/src/main/kotlin/net/dankito/banking/fints/FinTsClient.kt index 5b857bd0..e59e48ea 100644 --- a/fints4k/src/main/kotlin/net/dankito/banking/fints/FinTsClient.kt +++ b/fints4k/src/main/kotlin/net/dankito/banking/fints/FinTsClient.kt @@ -341,22 +341,6 @@ open class FinTsClient @JvmOverloads constructor( balance) } - protected open fun getTransactionsFromResponse(response: Response, transactions: ReceivedAccountTransactions, - bookedTransactionsString: StringBuilder, unbookedTransactionsString: StringBuilder) { - - bookedTransactionsString.append(transactions.bookedTransactionsString) - - transactions.unbookedTransactionsString?.let { - unbookedTransactionsString.append(transactions.unbookedTransactionsString) - } - - response.followUpResponse?.let { followUpResponse -> - followUpResponse.getFirstSegmentById(InstituteSegmentId.AccountTransactionsMt940)?.let { followUpTransactions -> - getTransactionsFromResponse(followUpResponse, followUpTransactions, bookedTransactionsString, unbookedTransactionsString) - } - } - } - protected open fun getBalanceAfterDialogInit(account: AccountData, dialogContext: DialogContext): Response { val message = messageBuilder.createGetBalanceMessage(account, dialogContext)