Skip to content

Commit 5a239f1

Browse files
committed
Merge branch 'master' of github.com:msgpack/msgpack-java
2 parents 6cee723 + 411896a commit 5a239f1

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ jdk:
66
branches:
77
only:
88
- master
9+
- develop
910
notifications:
1011
email:
1112
- muga.nishizawa@gmail.com
1213
- ozawa.tsuyoshi@gmail.com
14+
- leo@xerial.org

src/main/java/org/msgpack/unpacker/DoubleAccept.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@ final class DoubleAccept extends Accept {
2424
super("float");
2525
}
2626

27+
@Override
2728
void acceptFloat(float v) {
2829
this.value = (double) v;
2930
}
3031

32+
@Override
3133
void acceptDouble(double v) {
3234
this.value = v;
3335
}

src/test/java/org/msgpack/TestSet.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ public void testBooleanArray(boolean[] v) throws Exception {
4242
}
4343

4444
public void testByte() throws Exception {
45-
testShort((byte) 0);
46-
testShort((byte) -1);
47-
testShort((byte) 1);
45+
testByte((byte) 0);
46+
testByte((byte) -1);
47+
testByte((byte) 1);
4848
testByte(Byte.MIN_VALUE);
4949
testByte(Byte.MAX_VALUE);
5050
byte[] bytes = new byte[1000];

0 commit comments

Comments
 (0)