Skip to content

Commit c4a81e8

Browse files
authored
another place where fast parser can be used (#3527)
1 parent 023733e commit c4a81e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/fasterxml/jackson/databind/util/TokenBuffer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1845,7 +1845,7 @@ public final Number getNumberValue() throws IOException {
18451845
if (value instanceof String) {
18461846
String str = (String) value;
18471847
if (str.indexOf('.') >= 0) {
1848-
return NumberInput.parseDouble(str);
1848+
return NumberInput.parseDouble(str, isEnabled(StreamReadFeature.USE_FAST_DOUBLE_PARSER));
18491849
}
18501850
return NumberInput.parseLong(str);
18511851
}

0 commit comments

Comments
 (0)