@@ -50,7 +50,7 @@ public class ReaderBasedJsonParser // final in 2.3, earlier
50
50
* buffer.
51
51
*/
52
52
protected boolean _bufferRecyclable ;
53
-
53
+
54
54
/*
55
55
/**********************************************************
56
56
/* Configuration
@@ -60,15 +60,15 @@ public class ReaderBasedJsonParser // final in 2.3, earlier
60
60
protected ObjectCodec _objectCodec ;
61
61
62
62
final protected CharsToNameCanonicalizer _symbols ;
63
-
63
+
64
64
final protected int _hashSeed ;
65
65
66
66
/*
67
67
/**********************************************************
68
68
/* Parsing state
69
69
/**********************************************************
70
70
*/
71
-
71
+
72
72
/**
73
73
* Flag that indicates that the current token has not yet
74
74
* been fully processed, and needs to be finished for
@@ -216,7 +216,7 @@ protected void _releaseBuffers() throws IOException {
216
216
/* Public API, data access
217
217
/**********************************************************
218
218
*/
219
-
219
+
220
220
/**
221
221
* Method for accessing textual representation of the current event;
222
222
* if no current event (before first call to {@link #nextToken}, or
@@ -238,7 +238,7 @@ public final String getText() throws IOException
238
238
}
239
239
240
240
// // // Let's override default impls for improved performance
241
-
241
+
242
242
// @since 2.1
243
243
@ Override
244
244
public final String getValueAsString () throws IOException
@@ -255,7 +255,7 @@ public final String getValueAsString() throws IOException
255
255
}
256
256
return super .getValueAsString (null );
257
257
}
258
-
258
+
259
259
// @since 2.1
260
260
@ Override
261
261
public final String getValueAsString (String defValue ) throws IOException {
@@ -308,7 +308,6 @@ public final char[] getTextCharacters() throws IOException
308
308
_nameCopied = true ;
309
309
}
310
310
return _nameCopyBuffer ;
311
-
312
311
case ID_STRING :
313
312
if (_tokenIncomplete ) {
314
313
_tokenIncomplete = false ;
@@ -318,7 +317,6 @@ public final char[] getTextCharacters() throws IOException
318
317
case ID_NUMBER_INT :
319
318
case ID_NUMBER_FLOAT :
320
319
return _textBuffer .getTextBuffer ();
321
-
322
320
default :
323
321
return _currToken .asCharArray ();
324
322
}
@@ -331,7 +329,6 @@ public final int getTextLength() throws IOException
331
329
{
332
330
if (_currToken != null ) { // null only before/after document
333
331
switch (_currToken .id ()) {
334
-
335
332
case ID_FIELD_NAME :
336
333
return _parsingContext .getCurrentName ().length ();
337
334
case ID_STRING :
@@ -343,7 +340,6 @@ public final int getTextLength() throws IOException
343
340
case ID_NUMBER_INT :
344
341
case ID_NUMBER_FLOAT :
345
342
return _textBuffer .size ();
346
-
347
343
default :
348
344
return _currToken .asCharArray ().length ;
349
345
}
@@ -404,7 +400,7 @@ public byte[] getBinaryValue(Base64Variant b64variant) throws IOException
404
400
}
405
401
return _binaryValue ;
406
402
}
407
-
403
+
408
404
@ Override
409
405
public int readBinaryValue (Base64Variant b64variant , OutputStream out ) throws IOException
410
406
{
@@ -1485,7 +1481,7 @@ private final char _verifyNoLeadingZeroes() throws IOException
1485
1481
// and offline the less common case
1486
1482
return _verifyNLZ2 ();
1487
1483
}
1488
-
1484
+
1489
1485
private char _verifyNLZ2 () throws IOException
1490
1486
{
1491
1487
if (_inputPtr >= _inputEnd && !loadMore ()) {
@@ -1571,7 +1567,7 @@ private final void _verifyRootSpace(int ch) throws IOException
1571
1567
}
1572
1568
_reportMissingRootWS (ch );
1573
1569
}
1574
-
1570
+
1575
1571
/*
1576
1572
/**********************************************************
1577
1573
/* Internal methods, secondary parsing
0 commit comments