Fixed that no Set hasn't been used

This commit is contained in:
dankito 2020-09-19 01:54:51 +02:00
parent 50a5938046
commit da5e285d61
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ open class RetrievedAccountData(
) {
open fun addBookedTransactions(transactions: List<AccountTransaction>) {
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)