You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(quality): remove code redundancies across solution
- Bulk-applied via `jb cleanupcode --profile=RemoveRedundancies`
then `dotnet format`. Removes redundant argument default values,
redundant member initializers, redundant `else` after `return`,
redundant anonymous-type property names, and other rewrites in
the ReSharper "Remove code redundancies" category — all
compiler-equivalent, no behavior change.
- Updates `Viper.sln.DotSettings`: the umbrella
`<CSRemoveCodeRedundancies>` flag alone is a no-op. ReSharper
also requires the (sparsely-documented) sibling
`<RemoveCodeRedundancies>` flag plus per-rule sub-flags
(`<CSRemoveRedundantArgumentDefaultValues>`,
`<CSRemoveRedundantInitializers>`) to actually trigger the
rewrites.
- Fixes a minor follow-up: `CliniciansController.cs:569` was
changed to `clinicians.Count` (List property) from
`clinicians.Count()` (LINQ). The IEnumerable to List
materialisation in `9823a4c9` made `clinicians` a List, which
Sonar S2971 then flagged as preferring the property. No new
lint rule violations introduced by this commit.
0 commit comments