Skip to content

addressed bug where key/value pair was incorrectly overwritten#852

Merged
littleaj merged 2 commits into
masterfrom
fixAccidentalMapOverwrite
Mar 13, 2019
Merged

addressed bug where key/value pair was incorrectly overwritten#852
littleaj merged 2 commits into
masterfrom
fixAccidentalMapOverwrite

Conversation

@littleaj

Copy link
Copy Markdown
Contributor

There are two signatures for setTimestamp so this needs to be a "multimap"

@littleaj littleaj requested a review from dhaval24 March 13, 2019 01:59

@dhaval24 dhaval24 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. Thanks for the catch. curious how this was discovered?

@littleaj

Copy link
Copy Markdown
Contributor Author

@dhaval24 static analysis tool flagged it. :)

@littleaj littleaj merged commit efa4af7 into master Mar 13, 2019
@littleaj littleaj deleted the fixAccidentalMapOverwrite branch March 13, 2019 17:56
@ElliotZhang

Copy link
Copy Markdown

@littleaj there is a bug here, please fix the NPE thrown on
"foundDesc.contains(desc)" line 115.

@littleaj

Copy link
Copy Markdown
Contributor Author

@ElliotZhang good catch. thanks.

@littleaj littleaj mentioned this pull request Mar 14, 2019
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.

3 participants