From 440c81518945c881a083d73a5e96150ed491dc41 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Fri, 28 May 2021 02:46:19 +0430 Subject: [PATCH] missed from previous commit --- .../eu/kanade/tachiyomi/animesource/model/SAnimeImpl.kt | 2 -- .../eu/kanade/tachiyomi/animesource/model/SEpisodeImpl.kt | 2 -- .../tachiyomi/animesource/online/ParsedAnimeHttpSource.kt | 2 +- server/src/main/kotlin/suwayomi/anime/impl/Anime.kt | 2 +- .../main/kotlin/suwayomi/anime/impl/extension/Extension.kt | 4 ++-- 5 files changed, 4 insertions(+), 8 deletions(-) diff --git a/server/src/main/kotlin/eu/kanade/tachiyomi/animesource/model/SAnimeImpl.kt b/server/src/main/kotlin/eu/kanade/tachiyomi/animesource/model/SAnimeImpl.kt index 6e84f69..14b6321 100644 --- a/server/src/main/kotlin/eu/kanade/tachiyomi/animesource/model/SAnimeImpl.kt +++ b/server/src/main/kotlin/eu/kanade/tachiyomi/animesource/model/SAnimeImpl.kt @@ -1,7 +1,5 @@ package eu.kanade.tachiyomi.animesource.model -import eu.kanade.tachiyomi.animesource.model.SAnime - class SAnimeImpl : SAnime { override lateinit var url: String diff --git a/server/src/main/kotlin/eu/kanade/tachiyomi/animesource/model/SEpisodeImpl.kt b/server/src/main/kotlin/eu/kanade/tachiyomi/animesource/model/SEpisodeImpl.kt index 6503711..873749f 100644 --- a/server/src/main/kotlin/eu/kanade/tachiyomi/animesource/model/SEpisodeImpl.kt +++ b/server/src/main/kotlin/eu/kanade/tachiyomi/animesource/model/SEpisodeImpl.kt @@ -1,7 +1,5 @@ package eu.kanade.tachiyomi.animesource.model -import eu.kanade.tachiyomi.animesource.model.SEpisode - class SEpisodeImpl : SEpisode { override lateinit var url: String diff --git a/server/src/main/kotlin/eu/kanade/tachiyomi/animesource/online/ParsedAnimeHttpSource.kt b/server/src/main/kotlin/eu/kanade/tachiyomi/animesource/online/ParsedAnimeHttpSource.kt index 583df8b..b942e54 100644 --- a/server/src/main/kotlin/eu/kanade/tachiyomi/animesource/online/ParsedAnimeHttpSource.kt +++ b/server/src/main/kotlin/eu/kanade/tachiyomi/animesource/online/ParsedAnimeHttpSource.kt @@ -1,9 +1,9 @@ package eu.kanade.tachiyomi.animesource.online import eu.kanade.tachiyomi.animesource.model.AnimesPage -import eu.kanade.tachiyomi.source.model.Page import eu.kanade.tachiyomi.animesource.model.SAnime import eu.kanade.tachiyomi.animesource.model.SEpisode +import eu.kanade.tachiyomi.source.model.Page import eu.kanade.tachiyomi.util.asJsoup import okhttp3.Response import org.jsoup.nodes.Document diff --git a/server/src/main/kotlin/suwayomi/anime/impl/Anime.kt b/server/src/main/kotlin/suwayomi/anime/impl/Anime.kt index 6f92a7a..6b2786a 100644 --- a/server/src/main/kotlin/suwayomi/anime/impl/Anime.kt +++ b/server/src/main/kotlin/suwayomi/anime/impl/Anime.kt @@ -7,8 +7,8 @@ package suwayomi.anime.impl * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ -import eu.kanade.tachiyomi.network.GET import eu.kanade.tachiyomi.animesource.model.SAnime +import eu.kanade.tachiyomi.network.GET import org.jetbrains.exposed.sql.select import org.jetbrains.exposed.sql.transactions.transaction import org.jetbrains.exposed.sql.update diff --git a/server/src/main/kotlin/suwayomi/anime/impl/extension/Extension.kt b/server/src/main/kotlin/suwayomi/anime/impl/extension/Extension.kt index cab7584..0b35a8a 100644 --- a/server/src/main/kotlin/suwayomi/anime/impl/extension/Extension.kt +++ b/server/src/main/kotlin/suwayomi/anime/impl/extension/Extension.kt @@ -8,11 +8,11 @@ package suwayomi.anime.impl.extension * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ import android.net.Uri -import eu.kanade.tachiyomi.network.GET -import eu.kanade.tachiyomi.network.NetworkHelper import eu.kanade.tachiyomi.animesource.AnimeCatalogueSource import eu.kanade.tachiyomi.animesource.AnimeSource import eu.kanade.tachiyomi.animesource.AnimeSourceFactory +import eu.kanade.tachiyomi.network.GET +import eu.kanade.tachiyomi.network.NetworkHelper import mu.KotlinLogging import okhttp3.Request import okio.buffer