From 5d1491fb8c6599a9324be86c12d258ee1f41a9a5 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Thu, 20 May 2021 16:23:13 +0430 Subject: [PATCH] fix package directive --- server/src/main/kotlin/ir/armor/tachidesk/impl/Chapter.kt | 2 +- server/src/main/kotlin/ir/armor/tachidesk/impl/Manga.kt | 2 +- server/src/main/kotlin/ir/armor/tachidesk/impl/MangaList.kt | 2 +- server/src/main/kotlin/ir/armor/tachidesk/impl/Page.kt | 2 +- server/src/main/kotlin/ir/armor/tachidesk/impl/Search.kt | 2 +- .../ir/armor/tachidesk/impl/backup/legacy/LegacyBackupImport.kt | 2 +- .../ir/armor/tachidesk/impl/util/lang/RxCoroutineBridge.kt | 2 +- server/src/test/kotlin/ir/armor/tachidesk/TestExtensions.kt | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/server/src/main/kotlin/ir/armor/tachidesk/impl/Chapter.kt b/server/src/main/kotlin/ir/armor/tachidesk/impl/Chapter.kt index 0a5789d..4bb46f3 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/impl/Chapter.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/impl/Chapter.kt @@ -11,7 +11,7 @@ import eu.kanade.tachiyomi.source.model.SChapter import eu.kanade.tachiyomi.source.model.SManga import ir.armor.tachidesk.impl.Manga.getManga import ir.armor.tachidesk.impl.util.GetHttpSource.getHttpSource -import ir.armor.tachidesk.impl.util.awaitSingle +import ir.armor.tachidesk.impl.util.lang.awaitSingle import ir.armor.tachidesk.model.database.table.ChapterTable import ir.armor.tachidesk.model.database.table.MangaTable import ir.armor.tachidesk.model.database.table.PageTable diff --git a/server/src/main/kotlin/ir/armor/tachidesk/impl/Manga.kt b/server/src/main/kotlin/ir/armor/tachidesk/impl/Manga.kt index 3d91d5e..cbff693 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/impl/Manga.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/impl/Manga.kt @@ -13,7 +13,7 @@ import ir.armor.tachidesk.impl.MangaList.proxyThumbnailUrl import ir.armor.tachidesk.impl.Source.getSource import ir.armor.tachidesk.impl.util.GetHttpSource.getHttpSource import ir.armor.tachidesk.impl.util.await -import ir.armor.tachidesk.impl.util.awaitSingle +import ir.armor.tachidesk.impl.util.lang.awaitSingle import ir.armor.tachidesk.impl.util.storage.CachedImageResponse.clearCachedImage import ir.armor.tachidesk.impl.util.storage.CachedImageResponse.getCachedImageResponse import ir.armor.tachidesk.model.database.table.MangaStatus diff --git a/server/src/main/kotlin/ir/armor/tachidesk/impl/MangaList.kt b/server/src/main/kotlin/ir/armor/tachidesk/impl/MangaList.kt index 59c2bcb..c2e4acb 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/impl/MangaList.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/impl/MangaList.kt @@ -9,7 +9,7 @@ package ir.armor.tachidesk.impl import eu.kanade.tachiyomi.source.model.MangasPage import ir.armor.tachidesk.impl.util.GetHttpSource.getHttpSource -import ir.armor.tachidesk.impl.util.awaitSingle +import ir.armor.tachidesk.impl.util.lang.awaitSingle import ir.armor.tachidesk.model.database.table.MangaStatus import ir.armor.tachidesk.model.database.table.MangaTable import ir.armor.tachidesk.model.dataclass.MangaDataClass diff --git a/server/src/main/kotlin/ir/armor/tachidesk/impl/Page.kt b/server/src/main/kotlin/ir/armor/tachidesk/impl/Page.kt index d810abd..ddba55d 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/impl/Page.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/impl/Page.kt @@ -10,7 +10,7 @@ package ir.armor.tachidesk.impl import eu.kanade.tachiyomi.source.model.Page import eu.kanade.tachiyomi.source.online.HttpSource import ir.armor.tachidesk.impl.util.GetHttpSource.getHttpSource -import ir.armor.tachidesk.impl.util.awaitSingle +import ir.armor.tachidesk.impl.util.lang.awaitSingle import ir.armor.tachidesk.impl.util.storage.CachedImageResponse.getCachedImageResponse import ir.armor.tachidesk.impl.util.storage.SafePath import ir.armor.tachidesk.model.database.table.ChapterTable diff --git a/server/src/main/kotlin/ir/armor/tachidesk/impl/Search.kt b/server/src/main/kotlin/ir/armor/tachidesk/impl/Search.kt index 3dedb20..4b185b0 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/impl/Search.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/impl/Search.kt @@ -9,7 +9,7 @@ package ir.armor.tachidesk.impl import ir.armor.tachidesk.impl.MangaList.processEntries import ir.armor.tachidesk.impl.util.GetHttpSource.getHttpSource -import ir.armor.tachidesk.impl.util.awaitSingle +import ir.armor.tachidesk.impl.util.lang.awaitSingle import ir.armor.tachidesk.model.dataclass.PagedMangaListDataClass object Search { diff --git a/server/src/main/kotlin/ir/armor/tachidesk/impl/backup/legacy/LegacyBackupImport.kt b/server/src/main/kotlin/ir/armor/tachidesk/impl/backup/legacy/LegacyBackupImport.kt index 830e1a4..ace19f2 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/impl/backup/legacy/LegacyBackupImport.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/impl/backup/legacy/LegacyBackupImport.kt @@ -21,7 +21,7 @@ import ir.armor.tachidesk.impl.backup.models.MangaImpl import ir.armor.tachidesk.impl.backup.models.Track import ir.armor.tachidesk.impl.backup.models.TrackImpl import ir.armor.tachidesk.impl.util.GetHttpSource.getHttpSource -import ir.armor.tachidesk.impl.util.awaitSingle +import ir.armor.tachidesk.impl.util.lang.awaitSingle import ir.armor.tachidesk.model.database.table.MangaTable import mu.KotlinLogging import org.jetbrains.exposed.sql.and diff --git a/server/src/main/kotlin/ir/armor/tachidesk/impl/util/lang/RxCoroutineBridge.kt b/server/src/main/kotlin/ir/armor/tachidesk/impl/util/lang/RxCoroutineBridge.kt index d41fb1a..cc6c9c6 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/impl/util/lang/RxCoroutineBridge.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/impl/util/lang/RxCoroutineBridge.kt @@ -1,4 +1,4 @@ -package ir.armor.tachidesk.impl.util +package ir.armor.tachidesk.impl.util.lang /* * Copyright (C) Contributors to the Suwayomi project diff --git a/server/src/test/kotlin/ir/armor/tachidesk/TestExtensions.kt b/server/src/test/kotlin/ir/armor/tachidesk/TestExtensions.kt index 7d0a806..397f850 100644 --- a/server/src/test/kotlin/ir/armor/tachidesk/TestExtensions.kt +++ b/server/src/test/kotlin/ir/armor/tachidesk/TestExtensions.kt @@ -16,7 +16,7 @@ import ir.armor.tachidesk.impl.Extension.updateExtension import ir.armor.tachidesk.impl.ExtensionsList.getExtensionList import ir.armor.tachidesk.impl.Source.getSourceList import ir.armor.tachidesk.impl.util.GetHttpSource.getHttpSource -import ir.armor.tachidesk.impl.util.awaitSingle +import ir.armor.tachidesk.impl.util.lang.awaitSingle import ir.armor.tachidesk.model.dataclass.ExtensionDataClass import ir.armor.tachidesk.server.applicationSetup import kotlinx.coroutines.Dispatchers