Skip to content

Commit f077d19

Browse files
authored
Merge pull request #415 from xuwei-k/patch-1
fix ambiguous overload in Java 9
2 parents 430bc16 + 2733a81 commit f077d19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

msgpack-core/src/test/scala/org/msgpack/core/buffer/MessageBufferTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ class MessageBufferTest
160160
"convert to ByteBuffer" in {
161161
for (t <- buffers) {
162162
val bb = t.sliceAsByteBuffer
163-
bb.position shouldBe 0
164-
bb.limit shouldBe 10
163+
bb.position() shouldBe 0
164+
bb.limit() shouldBe 10
165165
bb.capacity shouldBe 10
166166
}
167167
}

0 commit comments

Comments
 (0)