@@ -848,7 +848,7 @@ public JsonToken nextToken() throws IOException
848
848
_tokenInputTotal = _currInputProcessed + _inputPtr ;
849
849
850
850
// also: clear any data retained for previous token
851
- clearRetainedValues ();
851
+ _clearRetainedValues ();
852
852
853
853
// First: need to keep track of lengths of defined-length Arrays and
854
854
// Objects (to materialize END_ARRAY/END_OBJECT as necessary);
@@ -1480,7 +1480,7 @@ public boolean nextFieldName(SerializableString str) throws IOException
1480
1480
}
1481
1481
_tokenInputTotal = _currInputProcessed + _inputPtr ;
1482
1482
// need to clear retained values for previous token
1483
- clearRetainedValues ();
1483
+ _clearRetainedValues ();
1484
1484
_tagValues .clear ();
1485
1485
// completed the whole Object?
1486
1486
if (!_streamReadContext .expectMoreValues ()) {
@@ -1540,7 +1540,7 @@ public String nextFieldName() throws IOException
1540
1540
}
1541
1541
_tokenInputTotal = _currInputProcessed + _inputPtr ;
1542
1542
// need to clear retained values for previous token
1543
- clearRetainedValues ();
1543
+ _clearRetainedValues ();
1544
1544
_tagValues .clear ();
1545
1545
// completed the whole Object?
1546
1546
if (!_streamReadContext .expectMoreValues ()) {
@@ -4140,7 +4140,7 @@ private void createChildObjectContext(final int len) throws IOException {
4140
4140
}
4141
4141
4142
4142
// @since 2.20
4143
- private void clearRetainedValues () {
4143
+ protected void _clearRetainedValues () {
4144
4144
_numTypesValid = NR_UNKNOWN ;
4145
4145
_binaryValue = null ;
4146
4146
_simpleValue = null ;
0 commit comments