Skip to content

Commit caad184

Browse files
committed
Revert MessagePackParser inner constructor to package-private and remove unused byte[] constructor
1 parent 4164438 commit caad184

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

msgpack-jackson3/src/main/java/org/msgpack/jackson/dataformat/MessagePackParser.java

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
import org.msgpack.core.MessageFormat;
3232
import org.msgpack.core.MessagePack;
3333
import org.msgpack.core.MessageUnpacker;
34-
import org.msgpack.core.buffer.ArrayBufferInput;
3534
import org.msgpack.core.buffer.InputStreamBufferInput;
3635
import org.msgpack.core.buffer.MessageBufferInput;
3736
import org.msgpack.value.ValueType;
@@ -82,18 +81,7 @@ public MessagePackParser(
8281
this(readCtxt, ioCtxt, streamReadFeatures, new InputStreamBufferInput(in), in, reuseResourceInParser);
8382
}
8483

85-
public MessagePackParser(
86-
ObjectReadContext readCtxt,
87-
IOContext ioCtxt,
88-
int streamReadFeatures,
89-
byte[] bytes,
90-
boolean reuseResourceInParser)
91-
throws IOException
92-
{
93-
this(readCtxt, ioCtxt, streamReadFeatures, new ArrayBufferInput(bytes), bytes, reuseResourceInParser);
94-
}
95-
96-
public MessagePackParser(ObjectReadContext readCtxt,
84+
MessagePackParser(ObjectReadContext readCtxt,
9785
IOContext ioCtxt,
9886
int streamReadFeatures,
9987
MessageBufferInput input,

0 commit comments

Comments
 (0)