diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/transactions/mt940/Mt940Parser.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/transactions/mt940/Mt940Parser.kt index 1541b35f..835338d4 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/transactions/mt940/Mt940Parser.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/transactions/mt940/Mt940Parser.kt @@ -345,7 +345,7 @@ open class Mt940Parser : IMt940Parser { val reference = if (isFormattedReference(referenceParts)) joinReferenceParts(referenceParts) else referenceParts.joinToString(" ") - val otherPartyNameString = if (otherPartyName.isEmpty()) null else otherPartyName.toString() + val otherPartyNameString = if (otherPartyName.isBlank()) null else otherPartyName.toString() return InformationToAccountOwner( reference, otherPartyNameString, otherPartyBankCode, otherPartyAccountId,