Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Close #134 #143

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Close #134 #143

wants to merge 1 commit into from

Conversation

inromualdo
Copy link

Add updateLocation function

Copy link
Contributor

@samtstern samtstern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@inromualdo thanks for sending this pull request!

It looks like the only difference between setLocation and updateLocation is a call to updateChildren instead of setValue.

Could you reduce the code duplication? Things like checking for a null key and making the Map<> with the update are identical and don't need to be duplicated.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants