File tree 2 files changed +14
-6
lines changed
src/main/java/com/fasterxml/jackson/core
2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -241,13 +241,15 @@ public enum Feature {
241
241
*/
242
242
IGNORE_UNKNOWN (false ),
243
243
244
+ // // Misc other
245
+
244
246
/**
245
- * Feature that determines whether to use standard Java code to write floats/doubles (default) or
246
- * use the Schubfach algorithm which is faster. The latter approach may lead to small
247
- * differences in the precision of the float/double that is written to the JSON output.
247
+ * Alias for {@link com.fasterxml.jackson.core.StreamWriteFeature#USE_FAST_DOUBLE_WRITER} instead
248
248
*
249
249
* @since 2.14
250
+ * @deprecated Use {@link com.fasterxml.jackson.core.StreamWriteFeature#USE_FAST_DOUBLE_WRITER} instead
250
251
*/
252
+ @ Deprecated
251
253
USE_FAST_DOUBLE_WRITER (false )
252
254
;
253
255
Original file line number Diff line number Diff line change @@ -111,13 +111,19 @@ public enum StreamWriteFeature
111
111
*/
112
112
IGNORE_UNKNOWN (JsonGenerator .Feature .IGNORE_UNKNOWN ),
113
113
114
+ // // Misc other features
115
+
114
116
/**
115
- * Feature that determines whether to use standard Java code to write floats/doubles (default) or
116
- * use the Schubfach algorithm which is faster. The latter approach may lead to small
117
- * differences in the precision of the float/double that is written to the JSON output.
117
+ * Feature that determines whether to use standard Java code to write floats/doubles
118
+ * (default) or use the Schubfach algorithm which is faster.
119
+ * The latter approach may lead to small differences in the precision of the
120
+ * float/double that is written to the JSON output.
121
+ *<p>
122
+ * Feature is disabled by default, meaning that slower JDK default conversions are used.
118
123
*
119
124
* @since 2.14
120
125
*/
126
+ @ SuppressWarnings ("deprecation" )
121
127
USE_FAST_DOUBLE_WRITER (JsonGenerator .Feature .USE_FAST_DOUBLE_WRITER )
122
128
;
123
129
You can’t perform that action at this time.
0 commit comments