maps: document TransitLine for detekt (#tests)
- Commit
69c48155de3210fe6d0216e374bdc83eedcf0d7a- Author
- Vayun Mathur <[email protected]>
- When
- 2026-11-15 23:48 UTC (20 days ago)
- Parents
c56fa4b
UndocumentedPublicClass crept in with the synthetic-fixture work after the detekt pass. Verified: :maps:detekt green.
Diff
maps/src/main/java/com/vayunmathur/maps/util/RouteService.kt
diff --git a/maps/src/main/java/com/vayunmathur/maps/util/RouteService.kt b/maps/src/main/java/com/vayunmathur/maps/util/RouteService.ktindex 0db649faab..21eac58212 100644--- a/maps/src/main/java/com/vayunmathur/maps/util/RouteService.kt+++ b/maps/src/main/java/com/vayunmathur/maps/util/RouteService.kt@@ -30,6 +30,7 @@ object RouteService { ) /** Immutable value describing transit line; carries name, nameShort, color. */ @Serializable data class Stop(val name: String)+ /** Immutable value describing a transit line: display name, short name and brand colour. */ @Serializable data class TransitLine(val name: String, val nameShort: String? = null, val color: String) /** Immutable value describing nav instruction. */