From da5e285d61422000bd12f81b7effaf5b5e45d9dd Mon Sep 17 00:00:00 2001 From: dankito Date: Sat, 19 Sep 2020 01:54:51 +0200 Subject: [PATCH] Fixed that no Set hasn't been used --- .../net/dankito/banking/fints/model/RetrievedAccountData.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/RetrievedAccountData.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/RetrievedAccountData.kt index 2c15a132..be9195ed 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/RetrievedAccountData.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/RetrievedAccountData.kt @@ -9,7 +9,7 @@ open class RetrievedAccountData( ) { open fun addBookedTransactions(transactions: List) { - val bookedTransactions = this.bookedTransactions.toMutableList() // some banks like Postbank return some transactions multiple times -> remove these + val bookedTransactions = this.bookedTransactions.toMutableSet() // some banks like Postbank return some transactions multiple times -> remove these bookedTransactions.addAll(transactions)