Removed unused serializer
This commit is contained in:
parent
cf02128e94
commit
bb4ae54b15
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
) {
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
||||
}
|
Loading…
Reference in New Issue