@@ -2110,11 +2110,10 @@ public boolean isEnabled(MapperFeature f) {
2110
2110
// ok to use either one, should be kept in sync
2111
2111
return _serializationConfig .isEnabled (f );
2112
2112
}
2113
-
2114
- /**
2115
- * @deprecated Since 2.10 use {@code JsonMapper.builder().configure(...)} (or similarly for other datatypes)
2116
- */
2117
- @ Deprecated
2113
+
2114
+ // Note: planned to be deprecated in 2.11 (not needed with 2.10):
2115
+ // @deprecated Since 2.10 use {@code JsonMapper.builder().configure(...)} (or similarly for other datatypes)
2116
+ // @Deprecated
2118
2117
public ObjectMapper configure (MapperFeature f , boolean state ) {
2119
2118
_serializationConfig = state ?
2120
2119
_serializationConfig .with (f ) : _serializationConfig .without (f );
@@ -2123,20 +2122,18 @@ public ObjectMapper configure(MapperFeature f, boolean state) {
2123
2122
return this ;
2124
2123
}
2125
2124
2126
- /**
2127
- * @deprecated Since 2.10 use {@code JsonMapper.builder().Enable(...)} (or similarly for other datatypes)
2128
- */
2129
- @ Deprecated
2125
+ // Note: planned to be deprecated in 2.11 (not needed with 2.10):
2126
+ // @deprecated Since 2.10 use {@code JsonMapper.builder().Enable(...)} (or similarly for other datatypes)
2127
+ // @Deprecated
2130
2128
public ObjectMapper enable (MapperFeature ... f ) {
2131
2129
_deserializationConfig = _deserializationConfig .with (f );
2132
2130
_serializationConfig = _serializationConfig .with (f );
2133
2131
return this ;
2134
2132
}
2135
2133
2136
- /**
2137
- * @deprecated Since 2.10 use {@code JsonMapper.builder().disable(...)} (or similarly for other datatypes)
2138
- */
2139
- @ Deprecated
2134
+ // Note: planned to be deprecated in 2.11 (not needed with 2.10):
2135
+ // @deprecated Since 2.10 use {@code JsonMapper.builder().disable(...)} (or similarly for other datatypes)
2136
+ // @Deprecated
2140
2137
public ObjectMapper disable (MapperFeature ... f ) {
2141
2138
_deserializationConfig = _deserializationConfig .without (f );
2142
2139
_serializationConfig = _serializationConfig .without (f );
0 commit comments