@@ -787,7 +787,7 @@ public final JsonToken nextToken() throws IOException
787
787
}
788
788
break ;
789
789
case '.' : // [core#61]]
790
- t = _parseFloatThatStartsWithPeriod (false , false );
790
+ t = _parseFloatThatStartsWithPeriod (false );
791
791
break ;
792
792
case '0' :
793
793
case '1' :
@@ -990,7 +990,7 @@ public String nextFieldName() throws IOException
990
990
}
991
991
break ;
992
992
case '.' : // [core#61]]
993
- t = _parseFloatThatStartsWithPeriod (false , false );
993
+ t = _parseFloatThatStartsWithPeriod (false );
994
994
break ;
995
995
case '0' :
996
996
case '1' :
@@ -1069,7 +1069,7 @@ private final void _isNextTokenNameYes(int i) throws IOException
1069
1069
}
1070
1070
return ;
1071
1071
case '.' : // [core#61]]
1072
- _nextToken = _parseFloatThatStartsWithPeriod (false , false );
1072
+ _nextToken = _parseFloatThatStartsWithPeriod (false );
1073
1073
return ;
1074
1074
case '0' :
1075
1075
case '1' :
@@ -1114,7 +1114,7 @@ protected boolean _isNextTokenNameMaybe(int i, String nameToMatch) throws IOExce
1114
1114
}
1115
1115
break ;
1116
1116
case '.' : // [core#61]
1117
- t = _parseFloatThatStartsWithPeriod (false , false );
1117
+ t = _parseFloatThatStartsWithPeriod (false );
1118
1118
break ;
1119
1119
case '0' :
1120
1120
case '1' :
@@ -1183,7 +1183,7 @@ private final JsonToken _nextTokenNotInObject(int i) throws IOException
1183
1183
* and could be indicated by a more specific error message.
1184
1184
*/
1185
1185
case '.' : // [core#61]]
1186
- return (_currToken = _parseFloatThatStartsWithPeriod (false , false ));
1186
+ return (_currToken = _parseFloatThatStartsWithPeriod (false ));
1187
1187
case '0' :
1188
1188
case '1' :
1189
1189
case '2' :
@@ -1327,11 +1327,10 @@ public final Boolean nextBooleanValue() throws IOException
1327
1327
1328
1328
@ Deprecated // since 2.14
1329
1329
protected final JsonToken _parseFloatThatStartsWithPeriod () throws IOException {
1330
- return _parseFloatThatStartsWithPeriod (false , false );
1330
+ return _parseFloatThatStartsWithPeriod (false );
1331
1331
}
1332
1332
1333
- protected final JsonToken _parseFloatThatStartsWithPeriod (final boolean neg ,
1334
- final boolean hasSign )
1333
+ protected final JsonToken _parseFloatThatStartsWithPeriod (final boolean neg )
1335
1334
throws IOException
1336
1335
{
1337
1336
// [core#611]: allow optionally leading decimal point
@@ -1509,7 +1508,7 @@ private final JsonToken _parseSignedNumber(final boolean negative) throws IOExce
1509
1508
if (ch > INT_9 || ch < INT_0 ) {
1510
1509
_inputPtr = ptr ;
1511
1510
if (ch == INT_PERIOD ) {
1512
- return _parseFloatThatStartsWithPeriod (negative , true );
1511
+ return _parseFloatThatStartsWithPeriod (negative );
1513
1512
}
1514
1513
return _handleInvalidNumberStart (ch , negative , true );
1515
1514
}
0 commit comments