Skip to content

Commit c38964b

Browse files
committed
fix type name
1 parent 4df030c commit c38964b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

msgpack-core/src/test/scala/org/msgpack/core/MessageUnpackerTest.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ class MessageUnpackerTest extends MessagePackSpec {
7676
case ValueType.EOF =>
7777
debug(s"reached EOF")
7878
case other =>
79+
unpacker.skipValue();
7980
debug(s"unknown type: $f")
8081
}
8182
}

msgpack-value/src/main/java/org/msgpack/value/Value.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import java.io.IOException;
1919
import org.msgpack.core.ValueType;
20-
import org.msgpack.core.Packer;
20+
import org.msgpack.core.MessagePacker;
2121

2222
public interface Value {
2323
public ValueType getType();
@@ -68,7 +68,7 @@ public interface Value {
6868

6969
public ExtendedValue asExtendedValue();
7070

71-
public void writeTo(Packer pk) throws IOException;
71+
public void writeTo(MessagePacker pk) throws IOException;
7272

7373
//public void accept(ValueVisitor visitor);
7474
}

0 commit comments

Comments
 (0)