Skip to content

Commit

Permalink
Merge branch '2.18'
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jun 26, 2024
2 parents 4d3016a + 8dd8b53 commit 8de137d
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,15 @@ public JsonToken nextToken() throws JacksonException {
System.err.println("\n>>");
*/
}
while ((_currToken = _streamReadContext.nextToken()) == null) {
JsonToken t;
while ((t = _streamReadContext.nextToken()) == null) {
_streamReadContext = _streamReadContext.nextContext();
if (_streamReadContext == null) { // end of content
return null;
return _updateTokenToNull();
}
_streamReadConstraints.validateNestingDepth(_streamReadContext.getNestingDepth());
streamReadConstraints().validateNestingDepth(_streamReadContext.getNestingDepth());
}
return _currToken;
return _updateToken(t);
}

@Override
Expand Down

0 comments on commit 8de137d

Please sign in to comment.