From bc4a36ca018f7100cd72465272f5339b2fee19de Mon Sep 17 00:00:00 2001 From: Theodoro Mota Date: Sun, 28 Jan 2024 16:43:34 -0300 Subject: [PATCH] Updating baseline --- config/detekt/baseline.xml | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/config/detekt/baseline.xml b/config/detekt/baseline.xml index 084f1374d..8ca3eab04 100644 --- a/config/detekt/baseline.xml +++ b/config/detekt/baseline.xml @@ -31,7 +31,7 @@ ConstructorParameterNaming:AnilistModels.kt$ALManga$val remote_id: Long ConstructorParameterNaming:AnilistModels.kt$ALManga$val start_date_fuzzy: Long ConstructorParameterNaming:AnilistModels.kt$ALManga$val title_user_pref: String - ConstructorParameterNaming:AnilistModels.kt$ALManga$val total_chapters: Int + ConstructorParameterNaming:AnilistModels.kt$ALManga$val total_chapters: Long ConstructorParameterNaming:AnilistModels.kt$ALUserManga$val chapters_read: Int ConstructorParameterNaming:AnilistModels.kt$ALUserManga$val completed_date_fuzzy: Long ConstructorParameterNaming:AnilistModels.kt$ALUserManga$val library_id: Long @@ -281,9 +281,9 @@ MagicNumber:Anilist.kt$Anilist$10f MagicNumber:Anilist.kt$Anilist$18 MagicNumber:Anilist.kt$Anilist$20 - MagicNumber:Anilist.kt$Anilist$20f + MagicNumber:Anilist.kt$Anilist$20.0 MagicNumber:Anilist.kt$Anilist$25 - MagicNumber:Anilist.kt$Anilist$25f + MagicNumber:Anilist.kt$Anilist$25.0 MagicNumber:Anilist.kt$Anilist$35 MagicNumber:Anilist.kt$Anilist$5 MagicNumber:Anilist.kt$Anilist$60 @@ -591,13 +591,14 @@ MagicNumber:Tabs.kt$0.12f MagicNumber:TimeUtils.kt$4 MagicNumber:TrackInfoDialog.kt$TrackChapterSelectorScreen.Model$10000 - MagicNumber:TrackInfoDialogSelector.kt$3 - MagicNumber:TrackInfoDialogSelector.kt$4 - MagicNumber:TrackInfoDialogSelector.kt$5 - MagicNumber:TrackInfoDialogSelector.kt$6 + MagicNumber:TrackInfoDialogSelector.kt$3L + MagicNumber:TrackInfoDialogSelector.kt$4L + MagicNumber:TrackInfoDialogSelector.kt$5L + MagicNumber:TrackInfoDialogSelector.kt$6L MagicNumber:TrackerSearchPreviewProvider.kt$TrackerSearchPreviewProvider$10 MagicNumber:TrackerSearchPreviewProvider.kt$TrackerSearchPreviewProvider$100 - MagicNumber:TrackerSearchPreviewProvider.kt$TrackerSearchPreviewProvider$1000 + MagicNumber:TrackerSearchPreviewProvider.kt$TrackerSearchPreviewProvider$1000L + MagicNumber:TrackerSearchPreviewProvider.kt$TrackerSearchPreviewProvider$100L MagicNumber:TrackerSearchPreviewProvider.kt$TrackerSearchPreviewProvider$30 MagicNumber:TrackerSearchPreviewProvider.kt$TrackerSearchPreviewProvider$365 MagicNumber:TrackerSearchPreviewProvider.kt$TrackerSearchPreviewProvider$40 @@ -689,7 +690,7 @@ NestedBlockDepth:ExtensionInstaller.kt$ExtensionInstaller$fun installApk(downloadId: Long, uri: Uri) NestedBlockDepth:ImageUtil.kt$ImageUtil$fun chooseBackground(context: Context, imageStream: InputStream): Drawable NestedBlockDepth:KavitaApi.kt$KavitaApi$fun getNewToken(apiUrl: String, apiKey: String): String? - NestedBlockDepth:KavitaApi.kt$KavitaApi$private fun getLatestChapterRead(url: String): Float + NestedBlockDepth:KavitaApi.kt$KavitaApi$private fun getLatestChapterRead(url: String): Double NestedBlockDepth:Kitsu.kt$Kitsu$override suspend fun update(track: Track, didReadChapter: Boolean): Track NestedBlockDepth:LibraryUpdateJob.kt$LibraryUpdateJob$private fun writeErrorFile(errors: List<Pair<Manga, String?>>): File NestedBlockDepth:LocalSource.kt$LocalSource$private fun copyComicInfoFileFromArchive(chapterArchives: List<UniFile>, folderPath: String?): File? @@ -724,7 +725,7 @@ ReturnCount:ImageUtil.kt$ImageUtil$fun isAnimatedAndSupported(stream: InputStream): Boolean ReturnCount:ImageUtil.kt$ImageUtil$fun splitTallImage(tmpDir: UniFile, imageFile: UniFile, filenamePrefix: String): Boolean ReturnCount:KavitaApi.kt$KavitaApi$fun getNewToken(apiUrl: String, apiKey: String): String? - ReturnCount:KavitaApi.kt$KavitaApi$private fun getLatestChapterRead(url: String): Float + ReturnCount:KavitaApi.kt$KavitaApi$private fun getLatestChapterRead(url: String): Double ReturnCount:KitsuDateHelper.kt$KitsuDateHelper$fun parse(dateString: String?): Long ReturnCount:LibraryUpdateJob.kt$LibraryUpdateJob$override suspend fun doWork(): Result ReturnCount:LocalSource.kt$LocalSource$private fun copyComicInfoFileFromArchive(chapterArchives: List<UniFile>, folderPath: String?): File? @@ -1151,13 +1152,13 @@ VariableNaming:SManga.kt$SManga$var thumbnail_url: String? VariableNaming:SManga.kt$SManga$var update_strategy: UpdateStrategy VariableNaming:Track.kt$Track$var finished_reading_date: Long - VariableNaming:Track.kt$Track$var last_chapter_read: Float + VariableNaming:Track.kt$Track$var last_chapter_read: Double VariableNaming:Track.kt$Track$var library_id: Long? VariableNaming:Track.kt$Track$var manga_id: Long VariableNaming:Track.kt$Track$var remote_id: Long VariableNaming:Track.kt$Track$var started_reading_date: Long - VariableNaming:Track.kt$Track$var total_chapters: Int - VariableNaming:Track.kt$Track$var tracker_id: Int + VariableNaming:Track.kt$Track$var total_chapters: Long + VariableNaming:Track.kt$Track$var tracker_id: Long VariableNaming:Track.kt$Track$var tracking_url: String VariableNaming:TrackSearch.kt$TrackSearch$var cover_url: String = "" VariableNaming:TrackSearch.kt$TrackSearch$var publishing_status: String = ""