Repository navigation
cleanup(android): drop unreachable CsvImportPayload.Ignore arm - #1335
Conversation
onCreate already returns when the payload is Ignore, so the later when arm could not run. Co-authored-by: Devil <9thLevelSoftware@users.noreply.github.com>
Code Review SummaryStatus: 1 Issue Found | Recommendation: Merge (suggestion is optional) Overview
Issue Details (click to expand)SUGGESTION
VerdictApprove — the removed arm was unreachable ( Correctness / Safety FindingsNo correctness or safety findings. Verified against the current HEAD ( Ponytail ReviewPonytail: Lean already. Ship. This PR is itself the Ponytail win: one unreachable branch deleted, no new abstraction, dependency, config, or test scaffold, and the Ponytail net: 0 lines. Suggested Minimal PatchNo patch needed. The only optional change is one line in Final Merge GuidanceCan merge; the SUGGESTION is optional cleanup and does not block. Fix these issues in Kilo Cloud Files Reviewed (1 file)
Reviewed by minimax-m3 · Input: 62.8K · Output: 22.3K · Cached: 978.7K Review guidance: REVIEW.md from base branch |
onCreatereturns immediately forCsvImportPayload.Ignore, so the laterwhenarm for that case could not run. This drops only that arm. The sealedwhenstays exhaustive after the early return.File:
androidApp/src/main/kotlin/com/devil/phoenixproject/csv/CsvImportActivity.ktVerification:
./gradlew :shared:compileKotlinIosSimulatorArm64 -Pskip.supabase.check=true :shared:compileAndroidHostTest :androidApp:compileDebugKotlinResult: BUILD SUCCESSFUL in 4m 13s.