Skip to content

Commit 54429af

Browse files
committed
One addition to #1304
1 parent 02b0859 commit 54429af

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/java/com/fasterxml/jackson/core/base/ParserMinimalBase.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,13 @@ protected ParserMinimalBase(int features) {
181181
this(features, null);
182182
}
183183

184+
// @since 2.18
185+
protected ParserMinimalBase(StreamReadConstraints src) {
186+
super();
187+
_streamReadConstraints = (src == null) ? StreamReadConstraints.defaults() : src;
188+
}
189+
190+
// @since 2.18
184191
protected ParserMinimalBase(int features, StreamReadConstraints src) {
185192
super(features);
186193
_streamReadConstraints = (src == null) ? StreamReadConstraints.defaults() : src;

0 commit comments

Comments
 (0)