Using now nullable hashCode() method
This commit is contained in:
parent
8dc2174081
commit
8346fb5077
|
@ -27,9 +27,9 @@ open class MobilePhoneTanMedium(
|
|||
|
||||
override fun hashCode(): Int {
|
||||
var result = super.hashCode()
|
||||
result = 31 * result + (concealedPhoneNumber?.hashCode() ?: 0)
|
||||
result = 31 * result + (phoneNumber?.hashCode() ?: 0)
|
||||
result = 31 * result + (smsDebitAccount?.hashCode() ?: 0)
|
||||
result = 31 * result + concealedPhoneNumber.hashCode()
|
||||
result = 31 * result + phoneNumber.hashCode()
|
||||
result = 31 * result + smsDebitAccount.hashCode()
|
||||
return result
|
||||
}
|
||||
|
||||
|
|
|
@ -35,9 +35,9 @@ open class TanGeneratorTanMedium(
|
|||
var result = super.hashCode()
|
||||
result = 31 * result + cardNumber.hashCode()
|
||||
result = 31 * result + cardSequenceNumber.hashCode()
|
||||
result = 31 * result + (cardType?.hashCode() ?: 0)
|
||||
result = 31 * result + (validFrom?.hashCode() ?: 0)
|
||||
result = 31 * result + (validTo?.hashCode() ?: 0)
|
||||
result = 31 * result + cardType.hashCode()
|
||||
result = 31 * result + validFrom.hashCode()
|
||||
result = 31 * result + validTo.hashCode()
|
||||
return result
|
||||
}
|
||||
|
||||
|
|
|
@ -148,10 +148,10 @@ open class AccountTransaction(
|
|||
result = 31 * result + amount.hashCode()
|
||||
result = 31 * result + reference.hashCode()
|
||||
result = 31 * result + bookingDate.hashCode()
|
||||
result = 31 * result + (otherPartyName?.hashCode() ?: 0)
|
||||
result = 31 * result + (otherPartyBankId?.hashCode() ?: 0)
|
||||
result = 31 * result + (otherPartyAccountId?.hashCode() ?: 0)
|
||||
result = 31 * result + (postingText?.hashCode() ?: 0)
|
||||
result = 31 * result + otherPartyName.hashCode()
|
||||
result = 31 * result + otherPartyBankId.hashCode()
|
||||
result = 31 * result + otherPartyAccountId.hashCode()
|
||||
result = 31 * result + postingText.hashCode()
|
||||
result = 31 * result + valueDate.hashCode()
|
||||
return result
|
||||
}
|
||||
|
|
|
@ -85,10 +85,10 @@ open class AccountTransaction(
|
|||
var result = amount.hashCode()
|
||||
result = 31 * result + reference.hashCode()
|
||||
result = 31 * result + bookingDate.hashCode()
|
||||
result = 31 * result + (otherPartyName?.hashCode() ?: 0)
|
||||
result = 31 * result + (otherPartyBankId?.hashCode() ?: 0)
|
||||
result = 31 * result + (otherPartyAccountId?.hashCode() ?: 0)
|
||||
result = 31 * result + (postingText?.hashCode() ?: 0)
|
||||
result = 31 * result + otherPartyName.hashCode()
|
||||
result = 31 * result + otherPartyBankId.hashCode()
|
||||
result = 31 * result + otherPartyAccountId.hashCode()
|
||||
result = 31 * result + postingText.hashCode()
|
||||
result = 31 * result + valueDate.hashCode()
|
||||
return result
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue