summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/test/thrift-protobuf-compare/tpc/src/serializers/msgpack/MessagePackDirectSerializer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/test/thrift-protobuf-compare/tpc/src/serializers/msgpack/MessagePackDirectSerializer.java b/java/test/thrift-protobuf-compare/tpc/src/serializers/msgpack/MessagePackDirectSerializer.java
index 721e95b..25f932b 100644
--- a/java/test/thrift-protobuf-compare/tpc/src/serializers/msgpack/MessagePackDirectSerializer.java
+++ b/java/test/thrift-protobuf-compare/tpc/src/serializers/msgpack/MessagePackDirectSerializer.java
@@ -59,7 +59,7 @@ public class MessagePackDirectSerializer implements ObjectSerializer<MediaConten
public MediaContent deserialize(byte[] array) throws Exception {
Unpacker pac = new Unpacker();
- pac.feed(array);
+ pac.wrap(array);
MediaContent obj = new MediaContent();
obj.messageUnpack(pac);
return obj;