@@ -94,22 +94,24 @@ public enum StreamReadFeature
94
94
INCLUDE_SOURCE_IN_LOCATION (false ),
95
95
96
96
/**
97
- * Feature that determines whether we use the built-in {@link Double#parseDouble(String)} code to parse
98
- * doubles or if we use {@code FastDoubleParser}
99
- * instead .
97
+ * Feature that determines whether to use the built-in JDK {@link Double#parseDouble(String)}
98
+ * code to parse {@code double}s (if {@code disabled})
99
+ * or {@code FastDoubleParser} implementation (if {@code enabled}) .
100
100
*<p>
101
- * This setting is disabled by default.
101
+ * This setting is enabled by default (since 3.0) so that {@code FastDoubleParser}
102
+ * implementation is used.
102
103
*/
103
- USE_FAST_DOUBLE_PARSER (false ),
104
+ USE_FAST_DOUBLE_PARSER (true ),
104
105
105
106
/**
106
- * Feature that determines whether to use the built-in Java code for parsing
107
- * <code>BigDecimal</code>s and <code>BigIntegers</code>s or to use
108
- * {@code FastDoubleParser} instead .
107
+ * Feature that determines whether to use the built-in JDK code for parsing
108
+ * <code>BigDecimal</code> and <code>BigIntegers</code> values (if {@code disabled})
109
+ * or {@code FastDoubleParser} implementation (if {@code enabled}) .
109
110
*<p>
110
- * This setting is disabled by default.
111
+ * This setting is enabled by default (since 3.0) so that {@code FastDoubleParser}
112
+ * implementation is used.
111
113
*/
112
- USE_FAST_BIG_NUMBER_PARSER (false )
114
+ USE_FAST_BIG_NUMBER_PARSER (true )
113
115
114
116
;
115
117
0 commit comments