Prevent having two different unpacking methods by cyberdelia · Pull Request #548 · msgpack/msgpack-java

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

xerial merged 2 commits intomsgpack:developfrom

cyberdelia:no-map-land

May 11, 2021

Merged

Prevent having two different unpacking methods#548

xerial merged 2 commits intomsgpack:developfrom

cyberdelia:no-map-land

Conversation

@cyberdelia

Copy link Copy Markdown

Contributor

Prevent having two different unpacking methods in the unpacker: unpackValue exclusively use arrays for both arrays and maps , and unpackValue(Variable) uses list and map. This will prevent having two different behaviour when unpacking values and prevent some code duplication.

@xerial xerial merged commit 75d33d1 into msgpack:develop

May 11, 2021

@cyberdelia

Copy link Copy Markdown

Contributor Author

Well, I'm still worried by the lack of tests failing because of my improper logic copy/pasta.

@cyberdelia cyberdelia deleted the no-map-land branch

May 11, 2021 19:35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@xerial xerial xerial left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@cyberdelia @xerial