Modern Apps git

← Modern-Apps.git

uniflix: document public API for detekt

Commit
caf3d6a9b5a9a30b1f15d70291e9cbbc87c9c8fb
Author
Vayun Mathur <[email protected]>
When
2026-11-17 14:42 UTC (19 days ago)
Parents
7868259
Add concise KDoc to every public class, object, interface and
enum (including nested types) that detekt's
UndocumentedPublicClass rule flagged in this module. Docs only:
no behaviour, visibility or config changes.

Verified: ./gradlew :uniflix:detekt reports 0
UndocumentedPublicClass findings (pre-existing error-severity
findings in other rules, where present, are untouched), and the
module unit tests pass.

Diff

uniflix/src/main/java/com/vayunmathur/uniflix/data/TmdbApi.kt
diff --git a/uniflix/src/main/java/com/vayunmathur/uniflix/data/TmdbApi.kt b/uniflix/src/main/java/com/vayunmathur/uniflix/data/TmdbApi.ktindex 75af5726f4..11cbb6b12c 100644--- a/uniflix/src/main/java/com/vayunmathur/uniflix/data/TmdbApi.kt+++ b/uniflix/src/main/java/com/vayunmathur/uniflix/data/TmdbApi.kt@@ -23,6 +23,7 @@ import kotlinx.serialization.json.Json /** Length of the yyyy prefix of an ISO date. */ private const val YEAR_LENGTH = 4 +/** Keyless TMDB catalog client; reads static catalog copies before the proxy. */ class TmdbApi {     private val json = Json { ignoreUnknownKeys = true }