Adjusted to new method names
This commit is contained in:
parent
d061e7f81c
commit
374d196c71
|
@ -153,7 +153,7 @@ open class LuceneBankFinder(indexFolder: File) : BankFinderBase(), IBankFinder {
|
||||||
|
|
||||||
protected open fun updateIndex(bankListFileHash: String) {
|
protected open fun updateIndex(bankListFileHash: String) {
|
||||||
try {
|
try {
|
||||||
val banks = loadBankListFile()
|
val banks = loadBankList()
|
||||||
|
|
||||||
// while indexing - which takes a long time on Android - use InMemoryBankFinder so that user sees at least some search results even though it's slower
|
// while indexing - which takes a long time on Android - use InMemoryBankFinder so that user sees at least some search results even though it's slower
|
||||||
bankFinderWhileUpdatingIndex = InMemoryBankFinder(banks)
|
bankFinderWhileUpdatingIndex = InMemoryBankFinder(banks)
|
||||||
|
@ -201,7 +201,7 @@ open class LuceneBankFinder(indexFolder: File) : BankFinderBase(), IBankFinder {
|
||||||
|
|
||||||
|
|
||||||
protected open fun calculateCurrentBankListFileHash(): String {
|
protected open fun calculateCurrentBankListFileHash(): String {
|
||||||
return calculateHash(readBankListFile())
|
return calculateHash(BankListDeserializer().readBankListFile())
|
||||||
}
|
}
|
||||||
|
|
||||||
protected open fun calculateHash(stringToHash: String): String {
|
protected open fun calculateHash(stringToHash: String): String {
|
||||||
|
|
Loading…
Reference in New Issue