Skip to content

refactor(car): drop dead FuzzyNodeNameResolver duplicate#5994

Merged
jamesarich merged 1 commit into
mainfrom
claude/great-pike-19b82f
Jun 28, 2026
Merged

refactor(car): drop dead FuzzyNodeNameResolver duplicate#5994
jamesarich merged 1 commit into
mainfrom
claude/great-pike-19b82f

Conversation

@jamesarich

Copy link
Copy Markdown
Collaborator

Why

feature/car's FuzzyNodeNameResolver carried a TODO to consolidate with core/data's FuzzyNameResolver once the AppFunctions branch merged. That branch has merged, unblocking the cleanup.

On inspection, the car-local resolver turned out to be dead code — referenced only by its own unit test, never by any production code in feature:car. core:data already provides the canonical @Single FuzzyNameResolver (and feature:car already depends on core:data), so the dedup is a straight deletion rather than a rewire.

🧹 Cleanup

  • Deleted feature/car/.../util/FuzzyNodeNameResolver.kt (the duplicate class + its TODO).
  • Deleted feature/car/.../util/FuzzyNodeNameResolverTest.kt (the only consumer).

No call sites to update — there were none. The core resolver remains DI-registered and available should feature:car ever grow a voice-resolve feature. (Note the APIs differ: core takes a query + injected node DB → NodeNameResult; the removed car one took an explicit List<Pair<Int, String>> → confidence score.)

Testing Performed

./gradlew :feature:car:assembleDebug :feature:car:testFdroidDebugUnitTest detekt spotlessCheck — all green.

🤖 Generated with Claude Code

The car-local FuzzyNodeNameResolver was referenced only by its own unit
test — no production code ever used it. core:data already provides the
canonical @single FuzzyNameResolver (and feature:car already depends on
core:data), so the AppFunctions-merge TODO to consolidate is resolved by
simply removing the duplicate class and its test.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions github-actions Bot added the refactor no functional changes label Jun 28, 2026
@jamesarich jamesarich enabled auto-merge June 28, 2026 14:51
@jamesarich jamesarich added this pull request to the merge queue Jun 28, 2026
Merged via the queue into main with commit a048ea1 Jun 28, 2026
22 checks passed
@jamesarich jamesarich deleted the claude/great-pike-19b82f branch June 28, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor no functional changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant