Commit 76c270d
refactor(joiner): use EquivalenceMode constants in dedup switches
Replaces `case "shallow":` / `case "deep":` string literals with the
existing EquivalenceModeShallow / EquivalenceModeDeep typed constants
by converting the switch expression to EquivalenceMode. Resolves a
goconst lint error triggered on CI (threshold of 6+ occurrences across
the package was crossed once the new semantic-dedup tests landed).
No behavior change — the case values compare identically.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent b770e66 commit 76c270d
2 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
228 | | - | |
| 227 | + | |
| 228 | + | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
345 | | - | |
| 344 | + | |
| 345 | + | |
346 | 346 | | |
347 | | - | |
| 347 | + | |
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
| |||
0 commit comments