@@ -129,7 +129,7 @@ public enum Id {
129
129
* <p>
130
130
* On serialization, no type ID is written, and only regular properties are included.
131
131
*
132
- * @since 2.12.0.
132
+ * @since 2.12
133
133
*/
134
134
DEDUCTION (null ),
135
135
@@ -215,7 +215,7 @@ public enum As {
215
215
* This mostly matters with respect to output order; this choice is the only
216
216
* way to ensure specific placement of type id during serialization.
217
217
*
218
- * @since 2.3.0 but databind <b>only since 2.5.0 </b>.
218
+ * @since 2.3 but databind <b>only since 2.5</b>.
219
219
*/
220
220
EXISTING_PROPERTY
221
221
;
@@ -306,16 +306,14 @@ public enum As {
306
306
public boolean visible () default false ;
307
307
308
308
// 19-Dec-2014, tatu: Was hoping to implement for 2.5, but didn't quite make it.
309
- // Hope for better luck with 2.8 or later
310
- /**
309
+ // Hope for better luck in future
310
+ /*
311
311
* Property that defines whether type serializer is allowed to omit writing
312
312
* of type id, in case that value written has type same as {@link #defaultImpl()}.
313
313
* If true, omission is allowed (although writer may or may not be able to do that);
314
314
* if false, type id should always be written still.
315
- *
316
- * @since 2.5
317
- public boolean skipWritingDefault() default false;
318
- */
315
+ */
316
+ // public boolean skipWritingDefault() default false;
319
317
320
318
/*
321
319
/**********************************************************
@@ -335,17 +333,18 @@ public enum As {
335
333
public abstract static class None {}
336
334
337
335
/**
338
- * Specifies whether the type ID should be strictly required during polymorphic deserialization of its subtypes.
336
+ * Specifies whether the type ID should be strictly required during polymorphic
337
+ * deserialization of its subtypes.
339
338
* <p>
340
- * If set to {@link OptBoolean#TRUE}, an {@code InvalidTypeIdException} will be thrown if no type
341
- * information is provided.
342
- * If set to {@link OptBoolean#FALSE}, deserialization may proceed without type information if the
343
- * subtype is a legitimate target (non-abstract).
339
+ * If set to {@link OptBoolean#TRUE}, an {@code InvalidTypeIdException} will
340
+ * be thrown if no type information is provided.
341
+ * If set to {@link OptBoolean#FALSE}, deserialization may proceed without
342
+ * type information if the subtype is a legitimate target (non-abstract).
344
343
* If set to {@link OptBoolean#DEFAULT}, the global configuration of
345
344
* {@code MapperFeature#REQUIRE_TYPE_ID_FOR_SUBTYPES} is used for type ID handling.
346
345
* <p>
347
- * NOTE: This setting is specific to this type and will <strong>always override</strong> the global
348
- * configuration of {@code MapperFeature# REQUIRE_TYPE_ID_FOR_SUBTYPES}.
346
+ * NOTE: This setting is specific to this type and will <strong>always override</strong>
347
+ * the global configuration of {@code MapperFeature. REQUIRE_TYPE_ID_FOR_SUBTYPES}.
349
348
*
350
349
* @since 2.16
351
350
*/
0 commit comments