Skip to content

Commit 9ba8f01

Browse files
committed
Removed Person class that is used in test
1 parent 55f5ad7 commit 9ba8f01

2 files changed

Lines changed: 1 addition & 17 deletions

File tree

msgpack-core/src/main/java/org/msgpack/core/MessageUnpacker.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ public static class Options {
4141
private static final byte REQUIRE_TO_READ_HEAD_BYTE = HEAD_BYTE_NEVER_USED_TYPE;
4242
private static final int REQUIRE_TO_READ_SIZE = -1;
4343

44-
private static Charset UTF_8 = Charset.forName("UTF-8");
4544

4645
private final MessageBufferInput in;
4746

@@ -70,7 +69,7 @@ private CharsetDecoder getCharsetDecoder() {
7069
// TODO options
7170
CharsetDecoder d = decoder;
7271
if (d == null) {
73-
d = decoder = UTF_8.newDecoder();
72+
d = decoder = MessagePack.UTF8.newDecoder();
7473
}
7574
return d;
7675
}

msgpack-core/src/test/java/org/msgpack/core/Person.java

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)