Minor cleanup

This commit is contained in:
arkon
2022-05-15 17:03:57 -04:00
parent d61bfd7caf
commit 9f42306f79
18 changed files with 40 additions and 70 deletions

View File

@@ -14,7 +14,7 @@ import rx.Observable
import tachiyomi.source.model.ChapterInfo
import tachiyomi.source.model.MangaInfo
open class SourceManager(private val context: Context) {
class SourceManager(private val context: Context) {
private val sourcesMap = mutableMapOf<Long, Source>()
private val stubSourcesMap = mutableMapOf<Long, StubSource>()
@@ -28,7 +28,7 @@ open class SourceManager(private val context: Context) {
createInternalSources().forEach { registerSource(it) }
}
open fun get(sourceKey: Long): Source? {
fun get(sourceKey: Long): Source? {
return sourcesMap[sourceKey]
}