@@ -787,7 +787,7 @@ public final JsonToken nextToken() throws IOException
787787 }
788788 break ;
789789 case '.' : // [core#61]]
790- t = _parseFloatThatStartsWithPeriod (false , false );
790+ t = _parseFloatThatStartsWithPeriod (false );
791791 break ;
792792 case '0' :
793793 case '1' :
@@ -990,7 +990,7 @@ public String nextFieldName() throws IOException
990990 }
991991 break ;
992992 case '.' : // [core#61]]
993- t = _parseFloatThatStartsWithPeriod (false , false );
993+ t = _parseFloatThatStartsWithPeriod (false );
994994 break ;
995995 case '0' :
996996 case '1' :
@@ -1069,7 +1069,7 @@ private final void _isNextTokenNameYes(int i) throws IOException
10691069 }
10701070 return ;
10711071 case '.' : // [core#61]]
1072- _nextToken = _parseFloatThatStartsWithPeriod (false , false );
1072+ _nextToken = _parseFloatThatStartsWithPeriod (false );
10731073 return ;
10741074 case '0' :
10751075 case '1' :
@@ -1114,7 +1114,7 @@ protected boolean _isNextTokenNameMaybe(int i, String nameToMatch) throws IOExce
11141114 }
11151115 break ;
11161116 case '.' : // [core#61]
1117- t = _parseFloatThatStartsWithPeriod (false , false );
1117+ t = _parseFloatThatStartsWithPeriod (false );
11181118 break ;
11191119 case '0' :
11201120 case '1' :
@@ -1183,7 +1183,7 @@ private final JsonToken _nextTokenNotInObject(int i) throws IOException
11831183 * and could be indicated by a more specific error message.
11841184 */
11851185 case '.' : // [core#61]]
1186- return (_currToken = _parseFloatThatStartsWithPeriod (false , false ));
1186+ return (_currToken = _parseFloatThatStartsWithPeriod (false ));
11871187 case '0' :
11881188 case '1' :
11891189 case '2' :
@@ -1327,11 +1327,10 @@ public final Boolean nextBooleanValue() throws IOException
13271327
13281328 @ Deprecated // since 2.14
13291329 protected final JsonToken _parseFloatThatStartsWithPeriod () throws IOException {
1330- return _parseFloatThatStartsWithPeriod (false , false );
1330+ return _parseFloatThatStartsWithPeriod (false );
13311331 }
13321332
1333- protected final JsonToken _parseFloatThatStartsWithPeriod (final boolean neg ,
1334- final boolean hasSign )
1333+ protected final JsonToken _parseFloatThatStartsWithPeriod (final boolean neg )
13351334 throws IOException
13361335 {
13371336 // [core#611]: allow optionally leading decimal point
@@ -1509,7 +1508,7 @@ private final JsonToken _parseSignedNumber(final boolean negative) throws IOExce
15091508 if (ch > INT_9 || ch < INT_0 ) {
15101509 _inputPtr = ptr ;
15111510 if (ch == INT_PERIOD ) {
1512- return _parseFloatThatStartsWithPeriod (negative , true );
1511+ return _parseFloatThatStartsWithPeriod (negative );
15131512 }
15141513 return _handleInvalidNumberStart (ch , negative , true );
15151514 }
0 commit comments