taxi: document public API for detekt
- Commit
fc2cf1c41ba20febbab95ab67ae0472d7debee29- Author
- Vayun Mathur <[email protected]>
- When
- 2026-11-17 14:42 UTC (19 days ago)
- Parents
04256ed
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 :taxi:detekt reports 0 UndocumentedPublicClass findings (pre-existing error-severity findings in other rules, where present, are untouched), and the module unit tests pass. Unit tests pass with the pre-existing, unrelated library:map/games:voxels rustFileLength failure excluded (Rust file length in untouched Rust sources).
Diff
taxi/src/main/java/com/vayunmathur/taxi/Route.kt
diff --git a/taxi/src/main/java/com/vayunmathur/taxi/Route.kt b/taxi/src/main/java/com/vayunmathur/taxi/Route.ktindex 788e624282..d54f9a8380 100644--- a/taxi/src/main/java/com/vayunmathur/taxi/Route.kt+++ b/taxi/src/main/java/com/vayunmathur/taxi/Route.kt@@ -8,8 +8,12 @@ import kotlinx.serialization.Serializable sealed interface Route : NavKey { /** Immutable value describing ride tracking; carries rideId. */ @Serializable data object Ride : Route+ /** Current active ride route. */ @Serializable data object CurrentRide : Route+ /** Ride-provider accounts route. */ @Serializable data object Accounts : Route+ /** Lyft sign-in route. */ @Serializable data object LyftSignIn : Route+ /** Live tracking route for the ride identified by [rideId]. */ @Serializable data class RideTracking(val rideId: String) : Route }