From fcec18fc151956485426d3ef00715661b1c3c328 Mon Sep 17 00:00:00 2001 From: dankl Date: Wed, 1 Jan 2020 18:18:01 +0100 Subject: [PATCH] Removed unused changeTanMedium() --- .../src/main/kotlin/net/dankito/fints/FinTsClient.kt | 8 -------- .../kotlin/net/dankito/fints/FinTsClientForCustomer.kt | 5 ----- 2 files changed, 13 deletions(-) diff --git a/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClient.kt b/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClient.kt index cf6c0e3b..ec8a2ae4 100644 --- a/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClient.kt +++ b/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClient.kt @@ -332,14 +332,6 @@ open class FinTsClient @JvmOverloads constructor( } - open fun changeTanMediumAsync(newActiveTanMedium: TanGeneratorTanMedium, bank: BankData, customer: CustomerData, - callback: (FinTsClientResponse) -> Unit) { - - threadPool.runAsync { - callback(changeTanMedium(newActiveTanMedium, bank, customer)) - } - } - open fun changeTanMedium(newActiveTanMedium: TanGeneratorTanMedium, bank: BankData, customer: CustomerData): FinTsClientResponse { var enteredAtc: EnterTanGeneratorAtcResult? = null diff --git a/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClientForCustomer.kt b/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClientForCustomer.kt index 324ca28e..f260ef23 100644 --- a/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClientForCustomer.kt +++ b/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClientForCustomer.kt @@ -1,7 +1,6 @@ package net.dankito.fints import net.dankito.fints.messages.MessageBuilder -import net.dankito.fints.messages.datenelemente.implementierte.tan.TanGeneratorTanMedium import net.dankito.fints.model.* import net.dankito.fints.response.ResponseParser import net.dankito.fints.response.client.AddAccountResponse @@ -44,8 +43,4 @@ open class FinTsClientForCustomer( client.doBankTransferAsync(bankTransferData, bank, customer, callback) } - open fun changeTanMedium(newActiveTanMedium: TanGeneratorTanMedium, callback: (FinTsClientResponse) -> Unit) { - client.changeTanMediumAsync(newActiveTanMedium, bank, customer, callback) - } - } \ No newline at end of file