File tree 1 file changed +5
-4
lines changed
properties/src/main/java/tools/jackson/dataformat/javaprop
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -199,14 +199,15 @@ public JsonToken nextToken() throws JacksonException {
199
199
System.err.println("\n>>");
200
200
*/
201
201
}
202
- while ((_currToken = _streamReadContext .nextToken ()) == null ) {
202
+ JsonToken t ;
203
+ while ((t = _streamReadContext .nextToken ()) == null ) {
203
204
_streamReadContext = _streamReadContext .nextContext ();
204
205
if (_streamReadContext == null ) { // end of content
205
- return null ;
206
+ return _updateTokenToNull () ;
206
207
}
207
- _streamReadConstraints .validateNestingDepth (_streamReadContext .getNestingDepth ());
208
+ streamReadConstraints () .validateNestingDepth (_streamReadContext .getNestingDepth ());
208
209
}
209
- return _currToken ;
210
+ return _updateToken ( t ) ;
210
211
}
211
212
212
213
@ Override
You can’t perform that action at this time.
0 commit comments