AY1920S1-CS2103T-W11-2 / main

SplitWiser - Epic debt tracking
https://ay1920s1-cs2103t-w11-2.github.io/main/
MIT License
0 stars 5 forks source link

Make isSettlement flag immutable #201

Closed liakify closed 4 years ago

liakify commented 4 years ago

Expense was meant to be sort of stateless (with the exception of isDeleted) to minimize risk of bugs but along the way became mutable.

Changes:

Actually tried to make involvedIds[] immutable but it turned out to be lot more involved (pun not intended) than I thought it would be so didn't do it.