We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 050b7a4 commit 8dd8b53Copy full SHA for 8dd8b53
properties/src/main/java/com/fasterxml/jackson/dataformat/javaprop/JavaPropsParser.java
@@ -239,14 +239,15 @@ public JsonToken nextToken() throws IOException {
239
System.err.println("\n>>");
240
*/
241
}
242
- while ((_currToken = _readContext.nextToken()) == null) {
+ JsonToken t;
243
+ while ((t = _readContext.nextToken()) == null) {
244
_readContext = _readContext.nextContext();
245
if (_readContext == null) { // end of content
- return null;
246
+ return _updateTokenToNull();
247
248
streamReadConstraints().validateNestingDepth(_readContext.getNestingDepth());
249
- return _currToken;
250
+ return _updateToken(t);
251
252
253
/*
0 commit comments