File tree 1 file changed +2
-2
lines changed
src/main/java/com/fasterxml/jackson/core
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ public Builder maxNestingDepth(final int maxNestingDepth) {
140
140
* The length is in input units of the input source, that is, in
141
141
* {@code byte}s or {@code char}s.
142
142
*
143
- * @param maxDocLen the maximum allowed document if positive number above 0; otherwise
143
+ * @param maxDocLen the maximum allowed document length if positive number above 0; otherwise
144
144
* ({@code 0} or negative number) means "unlimited".
145
145
*
146
146
* @return this builder
@@ -256,7 +256,7 @@ public StreamReadConstraints build() {
256
256
@ Deprecated // since 2.16
257
257
protected StreamReadConstraints (final int maxNestingDepth , final long maxDocLen ,
258
258
final int maxNumLen , final int maxStringLen ) {
259
- this (maxNestingDepth , DEFAULT_MAX_DOC_LEN ,
259
+ this (maxNestingDepth , maxDocLen ,
260
260
maxNumLen , maxStringLen , DEFAULT_MAX_NAME_LEN );
261
261
}
262
262
You can’t perform that action at this time.
0 commit comments