Skip to content

Commit 23b1882

Browse files
committed
Use static import
1 parent 2cb2fcc commit 23b1882

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

msgpack-core/src/test/java/org/msgpack/core/example/MessagePackExample.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import org.msgpack.core.MessageFormat;
1919
import org.msgpack.core.MessagePack;
2020
import org.msgpack.core.MessagePack.PackerConfig;
21+
import org.msgpack.core.MessagePack.UnpackerConfig;
2122
import org.msgpack.core.MessagePacker;
2223
import org.msgpack.core.MessageUnpacker;
2324
import org.msgpack.value.ArrayValue;
@@ -255,7 +256,7 @@ public static void configuration()
255256
packer.close();
256257

257258
// Unpack data
258-
MessagePack.UnpackerConfig unpackerConfig = new MessagePack.UnpackerConfig();
259+
UnpackerConfig unpackerConfig = new UnpackerConfig();
259260
unpackerConfig.stringDecoderBufferSize = 16 * 1024; // If your data contains many large strings (the default is 8k)
260261

261262
byte[] packedData = out.toByteArray();

0 commit comments

Comments
 (0)