Modern Apps git

← Modern-Apps.git

pdf: document public API for detekt

Commit
e442948e93b29eb7033c31ef8ff5942afca2c01d
Author
Vayun Mathur <[email protected]>
When
2026-11-17 14:42 UTC (19 days ago)
Parents
b952fdd
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 :pdf:detekt reports 0
UndocumentedPublicClass findings (pre-existing error-severity
findings in other rules, where present, are untouched), and the
module unit tests pass.

Diff

pdf/src/main/java/com/vayunmathur/pdf/MainActivity.kt
diff --git a/pdf/src/main/java/com/vayunmathur/pdf/MainActivity.kt b/pdf/src/main/java/com/vayunmathur/pdf/MainActivity.ktindex cfcec4a1d3..2f47669bf1 100644--- a/pdf/src/main/java/com/vayunmathur/pdf/MainActivity.kt+++ b/pdf/src/main/java/com/vayunmathur/pdf/MainActivity.kt@@ -54,6 +54,7 @@ class MainActivity : MaActivity() {         }     } +    /** Helpers mapping launch intents to PDF routes. */     companion object {         /** The route an entry intent names; home is the default landing. */         fun routeFor(intent: Intent?): Route =