Skip to content

Commit da7f2b7

Browse files
committed
...
1 parent 2bb14b8 commit da7f2b7

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

src/main/java/com/fasterxml/jackson/core/json/ReaderBasedJsonParser.java

+9-13
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class ReaderBasedJsonParser // final in 2.3, earlier
5050
* buffer.
5151
*/
5252
protected boolean _bufferRecyclable;
53-
53+
5454
/*
5555
/**********************************************************
5656
/* Configuration
@@ -60,15 +60,15 @@ public class ReaderBasedJsonParser // final in 2.3, earlier
6060
protected ObjectCodec _objectCodec;
6161

6262
final protected CharsToNameCanonicalizer _symbols;
63-
63+
6464
final protected int _hashSeed;
6565

6666
/*
6767
/**********************************************************
6868
/* Parsing state
6969
/**********************************************************
7070
*/
71-
71+
7272
/**
7373
* Flag that indicates that the current token has not yet
7474
* been fully processed, and needs to be finished for
@@ -216,7 +216,7 @@ protected void _releaseBuffers() throws IOException {
216216
/* Public API, data access
217217
/**********************************************************
218218
*/
219-
219+
220220
/**
221221
* Method for accessing textual representation of the current event;
222222
* if no current event (before first call to {@link #nextToken}, or
@@ -238,7 +238,7 @@ public final String getText() throws IOException
238238
}
239239

240240
// // // Let's override default impls for improved performance
241-
241+
242242
// @since 2.1
243243
@Override
244244
public final String getValueAsString() throws IOException
@@ -255,7 +255,7 @@ public final String getValueAsString() throws IOException
255255
}
256256
return super.getValueAsString(null);
257257
}
258-
258+
259259
// @since 2.1
260260
@Override
261261
public final String getValueAsString(String defValue) throws IOException {
@@ -308,7 +308,6 @@ public final char[] getTextCharacters() throws IOException
308308
_nameCopied = true;
309309
}
310310
return _nameCopyBuffer;
311-
312311
case ID_STRING:
313312
if (_tokenIncomplete) {
314313
_tokenIncomplete = false;
@@ -318,7 +317,6 @@ public final char[] getTextCharacters() throws IOException
318317
case ID_NUMBER_INT:
319318
case ID_NUMBER_FLOAT:
320319
return _textBuffer.getTextBuffer();
321-
322320
default:
323321
return _currToken.asCharArray();
324322
}
@@ -331,7 +329,6 @@ public final int getTextLength() throws IOException
331329
{
332330
if (_currToken != null) { // null only before/after document
333331
switch (_currToken.id()) {
334-
335332
case ID_FIELD_NAME:
336333
return _parsingContext.getCurrentName().length();
337334
case ID_STRING:
@@ -343,7 +340,6 @@ public final int getTextLength() throws IOException
343340
case ID_NUMBER_INT:
344341
case ID_NUMBER_FLOAT:
345342
return _textBuffer.size();
346-
347343
default:
348344
return _currToken.asCharArray().length;
349345
}
@@ -404,7 +400,7 @@ public byte[] getBinaryValue(Base64Variant b64variant) throws IOException
404400
}
405401
return _binaryValue;
406402
}
407-
403+
408404
@Override
409405
public int readBinaryValue(Base64Variant b64variant, OutputStream out) throws IOException
410406
{
@@ -1485,7 +1481,7 @@ private final char _verifyNoLeadingZeroes() throws IOException
14851481
// and offline the less common case
14861482
return _verifyNLZ2();
14871483
}
1488-
1484+
14891485
private char _verifyNLZ2() throws IOException
14901486
{
14911487
if (_inputPtr >= _inputEnd && !loadMore()) {
@@ -1571,7 +1567,7 @@ private final void _verifyRootSpace(int ch) throws IOException
15711567
}
15721568
_reportMissingRootWS(ch);
15731569
}
1574-
1570+
15751571
/*
15761572
/**********************************************************
15771573
/* Internal methods, secondary parsing

0 commit comments

Comments
 (0)