Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fixed: asShort in LongValueImpl should check isInShortRange instead o…
…f isInByteRange
  • Loading branch information
mecp committed Nov 4, 2015
commit 382845bc6e433761be83f42065ed098adc837799
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public byte asByte()
@Override
public short asShort()
{
if (!isInByteRange()) {
if (!isInShortRange()) {
throw new MessageIntegerOverflowException(value);
}
return (short) value;
Expand Down