This repository has been archived by the owner on Mar 5, 2023. It is now read-only.
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.
UniquePersonList: Simplify logic of updatePerson(...) #621
Closed
Description
This method retrieves the person in the list to be updated, and calls
Person#resetData(ReadOnlyPerson) to update the values of that person.
We do not need to retrieve the person in the list to be updated, to
update the list accordingly.
Let’s simplify the logic by setting the updated Person object in place
of the person to be updated.
Metadata
Assignees
Labels
No labels