Skip to content

Remove null-based accumulators in Household.step#57

Merged
speedcom merged 1 commit intomainfrom
remove-household-nulls
Mar 6, 2026
Merged

Remove null-based accumulators in Household.step#57
speedcom merged 1 commit intomainfrom
remove-household-nulls

Conversation

@speedcom
Copy link
Contributor

@speedcom speedcom commented Mar 6, 2026

Summary

  • Replace 8 nullable Array[Double] accumulators with a single Option[Tuple8] (perBankArrays)
  • Replace br != null / perBankInc != null checks with bankRates match and perBankArrays.foreach
  • No behavioral change — same logic, null-free

Test plan

  • sbt compile — zero warnings
  • sbt test — all 1251 tests pass

@speedcom speedcom merged commit 90b29d3 into main Mar 6, 2026
2 checks passed
@speedcom speedcom deleted the remove-household-nulls branch March 6, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant