Removed unused serializer

This commit is contained in:
dankito 2020-10-17 00:57:15 +02:00
parent cf02128e94
commit bb4ae54b15
3 changed files with 3 additions and 4 deletions

View File

@ -107,9 +107,9 @@ class BankingModule(private val applicationContext: Context) {
@Named(DataFolderKey) dataFolder: File,
persister: IBankingPersistence, transactionPartySearcher: ITransactionPartySearcher, bankIconFinder: IBankIconFinder,
textExtractorRegistry: ITextExtractorRegistry, router: IRouter, invoiceDataExtractor: IInvoiceDataExtractor,
modelCreator: IModelCreator, serializer: ISerializer, asyncRunner: IAsyncRunner) : BankingPresenter {
modelCreator: IModelCreator, asyncRunner: IAsyncRunner) : BankingPresenter {
return BankingPresenter(bankingClientCreator, bankFinder, dataFolder, persister, router, modelCreator,
transactionPartySearcher, bankIconFinder, textExtractorRegistry, invoiceDataExtractor, CurrencyInfoProvider(), serializer, asyncRunner)
transactionPartySearcher, bankIconFinder, textExtractorRegistry, invoiceDataExtractor, CurrencyInfoProvider(), asyncRunner)
}
@Provides

View File

@ -49,7 +49,6 @@ open class BankingPresenter(
protected val textExtractorRegistry: ITextExtractorRegistry = NoOpTextExtractorRegistry(),
protected val invoiceDataExtractor: IInvoiceDataExtractor = NoOpInvoiceDataExtractor(),
protected val currencyInfoProvider: ICurrencyInfoProvider = CurrencyInfoProvider(),
protected val serializer: ISerializer = NoOpSerializer(),
protected val asyncRunner: IAsyncRunner = CoroutinesAsyncRunner()
) {

View File

@ -17,6 +17,6 @@ import net.dankito.utils.multiplatform.File
class BankingPresenterSwift(dataFolder: File, router: IRouter, webClient: IWebClient, persistence: IBankingPersistence,
transactionPartySearcher: ITransactionPartySearcher, bankIconFinder: IBankIconFinder, serializer: ISerializer, asyncRunner: IAsyncRunner)
: BankingPresenter(fints4kBankingClientCreator(DefaultModelCreator(), serializer, webClient), InMemoryBankFinder(), dataFolder, persistence, router, DefaultModelCreator(),
transactionPartySearcher, bankIconFinder, NoOpTextExtractorRegistry(), NoOpInvoiceDataExtractor(), CurrencyInfoProvider(), serializer, asyncRunner) {
transactionPartySearcher, bankIconFinder, NoOpTextExtractorRegistry(), NoOpInvoiceDataExtractor(), CurrencyInfoProvider(), asyncRunner) {
}