KamoCRM

Correct four SW6a claims, one measured false

Docskamo-internal
Shipped
27 ஆகஸ்ட், 2026 அன்று 6:51 AM UTC
Author
kamo
Commit
c194bb7

A plain @Autowired List of an interface with no implementations does NOT resolve to an empty list — it throws UnsatisfiedDependencyException. Measured, not reasoned. Only required=false with an empty default is safe, so the reason the draft gave for preferring a list was not real. Also: private final cannot be field-injected here; the commitment does not exist at the guard the placement named; the cited SERVICE_AGREEMENT range was findServiceQuoteById; and the sketched test was near-tautological and would have missed the in-loop mutation this task calls the crux.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing