Skip to content

asShort in ImmutableLongValueImpl should check isInShortRange#287

Merged
komamitsu merged 3 commits intomsgpack:v07-developfrom
mecp:v07-develop
Nov 11, 2015
Merged

asShort in ImmutableLongValueImpl should check isInShortRange#287
komamitsu merged 3 commits intomsgpack:v07-developfrom
mecp:v07-develop

Conversation

@mecp
Copy link
Contributor

@mecp mecp commented Nov 4, 2015

asShort() in ImmutableLongvalueImpl should check isInShortRange() instead of isInByteRange()

@mecp
Copy link
Contributor Author

mecp commented Nov 4, 2015

Is it possible to do a hotfix/patch release for this?

@komamitsu
Copy link
Member

@mecp Could you add a test for it?

@mecp
Copy link
Contributor Author

mecp commented Nov 10, 2015

@komamitsu I have added tests for range checks and casts. Please don't judge the code, as these are first ever scala lines produced by me. please share If something is inappropriate.

komamitsu added a commit that referenced this pull request Nov 11, 2015
asShort in ImmutableLongValueImpl should check isInShortRange
@komamitsu komamitsu merged commit 610553e into msgpack:v07-develop Nov 11, 2015
@komamitsu
Copy link
Member

Great. Thanks!

@komamitsu
Copy link
Member

@mecp Released 0.7.1 that includes this change.

@mecp
Copy link
Contributor Author

mecp commented Nov 14, 2015

@komamitsu Arigato.

@Jayseeall222
Copy link

asShort() in ImmutableLongvalueImpl should check isInShortRange() instead of isInByteRange()

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