From 020c2af00621684e7b6ba540a89e5ad9c1931260 Mon Sep 17 00:00:00 2001 From: arkon Date: Fri, 24 Apr 2020 23:16:31 -0400 Subject: [PATCH] Lint fixes --- .../en/myhentaicomics/MyHentaiComics.kt | 10 +- .../en/myhentaigallery/MyHentaiGallery.kt | 157 ++--- .../tachiyomi/extension/en/oglaf/Oglaf.kt | 9 +- .../extension/en/patchfriday/PatchFriday.kt | 8 +- .../extension/en/perveden/Perveden.kt | 13 +- .../tachiyomi/extension/en/pururin/PuruRin.kt | 19 +- .../QuestionableContent.kt | 7 +- .../en/readcomiconline/Readcomiconline.kt | 16 +- .../tachiyomi/extension/en/readm/ReadM.kt | 25 +- .../en/readmangatoday/Readmangatoday.kt | 10 +- .../extension/en/renascans/Renascans.kt | 20 +- .../en/sleepypandascans/SleepyPandaScans.kt | 11 +- .../extension/en/tapastic/Tapastic.kt | 35 +- .../tachiyomi/extension/en/tsumino/Tsumino.kt | 21 +- .../extension/en/tsumino/TsuminoUtils.kt | 4 +- .../extension/en/vgperson/Vgperson.kt | 6 +- .../extension/en/webcomics/Webcomics.kt | 8 +- .../tachiyomi/extension/en/wutopia/Wutopia.kt | 11 +- .../tachiyomi/extension/en/xkcd/Xkcd.kt | 13 +- .../extension/es/doujinyang/DoujinYang.kt | 19 +- .../extension/es/heavenmanga/HeavenManga.kt | 30 +- .../extension/es/ikuhentai/Ikuhentai.kt | 133 +++-- .../tachiyomi/extension/es/inmanga/InManga.kt | 12 +- .../extension/es/lectormanga/LectorManga.kt | 58 +- .../tachiyomi/extension/es/mangamx/MangaMx.kt | 36 +- .../extension/es/tmohentai/TMOHentai.kt | 12 +- .../es/tumangaonline/TuMangaOnline.kt | 44 +- .../tachiyomi/extension/es/vcpvmp/VCPVMP.kt | 19 +- .../extension/es/vcpvmp/VCPVMPFactory.kt | 6 +- .../tachiyomi/extension/es/zahard/Zahard.kt | 30 +- .../tachiyomi/extension/fr/japscan/Japscan.kt | 29 +- .../extension/fr/lirescan/LireScan.kt | 7 +- .../extension/fr/mangakawaii/MangaKawaii.kt | 9 +- .../extension/fr/scantrad/Scantrad.kt | 16 +- .../extension/id/bacakomik/Bacakomik.kt | 16 +- .../extension/id/bacamanga/BacaManga.kt | 24 +- .../tachiyomi/extension/id/kiryuu/Kiryuu.kt | 6 +- .../extension/id/komikcast/Komikcast.kt | 15 +- .../extension/id/komikindo/KomikIndo.kt | 18 +- .../tachiyomi/extension/id/komiku/Komiku.kt | 19 +- .../extension/id/maidmanga/MaidManga.kt | 26 +- .../extension/id/mangaindo/MangaIndo.kt | 12 +- .../tachiyomi/extension/id/mangaku/Mangaku.kt | 6 +- .../extension/id/mangakyo/Mangakyo.kt | 28 +- .../extension/id/mangashiro/Mangashiro.kt | 18 +- .../extension/id/manhuaid/ManhuaID.kt | 17 +- .../extension/id/neumanga/Neumanga.kt | 17 +- .../tachiyomi/extension/id/ngomik/Ngomik.kt | 10 +- .../extension/id/pecintakomik/PecintaKomik.kt | 34 +- .../it/hentaifantasy/HentaiFantasy.kt | 29 +- .../tachiyomi/extension/it/itascan/ItaScan.kt | 7 +- .../extension/it/mangaeden/Mangaeden.kt | 13 +- .../it/novelleleggere/NovelleLeggere.kt | 15 +- .../extension/it/perveden/Perveden.kt | 13 +- .../ja/nikkangecchan/Nikkangecchan.kt | 20 +- .../extension/ja/rawdevart/Rawdevart.kt | 20 +- .../tachiyomi/extension/ja/rawkuma/Rawkuma.kt | 26 +- .../extension/ja/senmanga/SenManga.kt | 22 +- .../ja/shonenjumpplus/ShonenJumpPlus.kt | 32 +- .../tachiyomi/extension/ko/jmana/JMana.kt | 12 +- .../ko/mangashowme/MMCDNUrlHandler.kt | 2 +- .../extension/ko/mangashowme/MMFilters.kt | 2 - .../ko/mangashowme/MMImageDecoder.kt | 16 +- .../extension/ko/mangashowme/ManaMoa.kt | 58 +- .../ko/mangashowme/ManaMoaUrlActivity.kt | 1 - .../extension/ko/navercomic/NaverComic.kt | 4 +- .../extension/ko/navercomic/NaverComicBase.kt | 8 +- .../ko/navercomic/NaverComicFactory.kt | 2 +- .../tachiyomi/extension/ko/newtoki/NewToki.kt | 17 +- .../extension/ko/newtoki/NewTokiFactory.kt | 6 +- .../extension/pt/animaregia/AnimaRegia.kt | 23 +- .../pt/centraldemangas/CentralDeMangas.kt | 16 +- .../extension/pt/goldenmangas/GoldenMangas.kt | 20 +- .../extension/pt/hipercool/Hipercool.kt | 36 +- .../extension/pt/hqdragon/HQDragon.kt | 11 +- .../tachiyomi/extension/pt/hqnow/HQNow.kt | 61 +- .../extension/pt/mangahost/MangaHost.kt | 20 +- .../pt/mangasproject/MangasProject.kt | 19 +- .../extension/pt/mangayabu/MangaYabu.kt | 8 +- .../extension/pt/saikaiscan/SaikaiScan.kt | 7 +- .../extension/pt/superhentais/SuperHentais.kt | 49 +- .../extension/pt/unionmangas/UnionMangas.kt | 21 +- .../tachiyomi/extension/pt/zinnes/Zinnes.kt | 19 +- .../tachiyomi/extension/ru/acomics/Acomics.kt | 24 +- .../tachiyomi/extension/ru/anibe/Anibe.kt | 31 +- .../tachiyomi/extension/ru/comx/ComX.kt | 29 +- .../tachiyomi/extension/ru/desu/Desu.kt | 20 +- .../tachiyomi/extension/ru/henchan/Henchan.kt | 40 +- .../extension/ru/libmanga/LibManga.kt | 32 +- .../extension/ru/mangachan/Mangachan.kt | 16 +- .../extension/ru/mangaclub/Mangaclub.kt | 22 +- .../extension/ru/mangahub/Mangahub.kt | 5 +- .../ru/mangaonlinebiz/Mangaonlinebiz.kt | 12 +- .../extension/ru/mintmanga/Mintmanga.kt | 20 +- .../extension/ru/nudemoon/Nudemoon.kt | 38 +- .../extension/ru/onlinecomics/Onlinecomics.kt | 22 +- .../extension/ru/readmanga/Readmanga.kt | 20 +- .../extension/ru/risensteam/RisensTeam.kt | 11 +- .../extension/ru/selfmanga/Selfmanga.kt | 15 +- .../extension/th/nekopost/NPUtils.kt | 7 +- .../extension/th/nekopost/Nekopost.kt | 14 +- .../vi/academyvn/HocVienTruyenTranh.kt | 2 +- .../extension/vi/blogtruyen/BlogTruyen.kt | 7 +- .../extension/vi/hentaivn/HentaiVN.kt | 14 +- .../vi/iutruyentranh/IuTruyenTranh.kt | 2 +- .../vi/medoctruyentranh/MeDocTruyenTranh.kt | 9 +- .../extension/vi/nettruyen/NetTruyen.kt | 27 +- .../extension/vi/ngonphong/NgonPhong.kt | 10 +- .../extension/vi/truyenqq/TruyenQQ.kt | 33 +- .../extension/zh/bainianmanga/BainianManga.kt | 8 +- .../kanade/tachiyomi/extension/zh/bh3/BH3.kt | 26 +- .../tachiyomi/extension/zh/comico/Comico.kt | 20 +- .../extension/zh/comico/ComicoFactory.kt | 9 +- .../tachiyomi/extension/zh/dmzj/Dmzj.kt | 48 +- .../extension/zh/gufengmh/Gufengmh.kt | 542 +++++++++--------- .../extension/zh/hanhankuman/HanhanKuman.kt | 18 +- .../zh/kuaikanmanhua/Kuaikanmanhua.kt | 31 +- .../extension/zh/manhuadb/ManhuaDB.kt | 19 +- .../extension/zh/manhuadui/Manhuadui.kt | 29 +- .../tachiyomi/extension/zh/manhuagui/Comic.kt | 30 +- .../extension/zh/manhuagui/Manhuagui.kt | 11 +- .../tachiyomi/extension/zh/manhuagui/Sl.kt | 4 +- .../extension/zh/manhuaren/Manhuaren.kt | 31 +- .../extension/zh/onemanhua/Onemanhua.kt | 19 +- .../tachiyomi/extension/zh/pufei/Pufei.kt | 17 +- .../extension/zh/qimiaomh/Qimiaomh.kt | 29 +- .../extension/zh/tohomh123/Tohomh.kt | 5 +- .../tachiyomi/extension/zh/wnacg/wnacg.kt | 38 +- .../tachiyomi/extension/zh/wuqimanga/Comic.kt | 1 - .../extension/zh/wuqimanga/WuqiManga.kt | 13 +- 130 files changed, 1765 insertions(+), 1429 deletions(-) diff --git a/src/en/myhentaicomics/src/eu/kanade/tachiyomi/extension/en/myhentaicomics/MyHentaiComics.kt b/src/en/myhentaicomics/src/eu/kanade/tachiyomi/extension/en/myhentaicomics/MyHentaiComics.kt index 6db3bca66..32ca3c0e9 100644 --- a/src/en/myhentaicomics/src/eu/kanade/tachiyomi/extension/en/myhentaicomics/MyHentaiComics.kt +++ b/src/en/myhentaicomics/src/eu/kanade/tachiyomi/extension/en/myhentaicomics/MyHentaiComics.kt @@ -1,7 +1,11 @@ package eu.kanade.tachiyomi.extension.en.myhentaicomics import eu.kanade.tachiyomi.network.GET -import eu.kanade.tachiyomi.source.model.* +import eu.kanade.tachiyomi.source.model.Filter +import eu.kanade.tachiyomi.source.model.FilterList +import eu.kanade.tachiyomi.source.model.Page +import eu.kanade.tachiyomi.source.model.SChapter +import eu.kanade.tachiyomi.source.model.SManga import eu.kanade.tachiyomi.source.online.ParsedHttpSource import okhttp3.OkHttpClient import okhttp3.Request @@ -125,10 +129,10 @@ class MyHentaiComics : ParsedHttpSource() { override fun getFilterList() = FilterList( Filter.Header("Cannot combine search types!"), Filter.Separator("-----------------"), - GenreFilter () + GenreFilter() ) - private class GenreFilter: UriPartFilter("Genres", + private class GenreFilter : UriPartFilter("Genres", arrayOf( Pair("", ""), Pair("3D", "/index.php/tag/2403"), diff --git a/src/en/myhentaigallery/src/eu/kanade/tachiyomi/extension/en/myhentaigallery/MyHentaiGallery.kt b/src/en/myhentaigallery/src/eu/kanade/tachiyomi/extension/en/myhentaigallery/MyHentaiGallery.kt index 395143c57..1a60c9230 100644 --- a/src/en/myhentaigallery/src/eu/kanade/tachiyomi/extension/en/myhentaigallery/MyHentaiGallery.kt +++ b/src/en/myhentaigallery/src/eu/kanade/tachiyomi/extension/en/myhentaigallery/MyHentaiGallery.kt @@ -2,7 +2,12 @@ package eu.kanade.tachiyomi.extension.en.myhentaigallery import eu.kanade.tachiyomi.network.GET import eu.kanade.tachiyomi.network.asObservableSuccess -import eu.kanade.tachiyomi.source.model.* +import eu.kanade.tachiyomi.source.model.Filter +import eu.kanade.tachiyomi.source.model.FilterList +import eu.kanade.tachiyomi.source.model.MangasPage +import eu.kanade.tachiyomi.source.model.Page +import eu.kanade.tachiyomi.source.model.SChapter +import eu.kanade.tachiyomi.source.model.SManga import eu.kanade.tachiyomi.source.online.ParsedHttpSource import okhttp3.HttpUrl import okhttp3.OkHttpClient @@ -150,81 +155,81 @@ class MyHentaiGallery : ParsedHttpSource() { private class GenreFilter : UriPartFilter("Category", arrayOf( Pair("