File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/main/java/com/fasterxml/jackson/core Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,11 @@ public Builder maxNestingDepth(final int maxNestingDepth) {
150
150
* indicate that any length is acceptable ({@code 0} or negative number).
151
151
* The length is in input units of the input source, that is, in
152
152
* {@code byte}s or {@code char}s.
153
- *
153
+ * <p>
154
+ * The check is not done after every byte or character but checked when a
155
+ * new chunk of data is read. This means that the check is not likely to be exact
156
+ * but that documents smaller than this limit will be treated as valid.
157
+ * </p>
154
158
* @param maxDocLen the maximum allowed document length if positive number above 0; otherwise
155
159
* ({@code 0} or negative number) means "unlimited".
156
160
*
You can’t perform that action at this time.
0 commit comments