File tree 3 files changed +2
-22
lines changed
src/main/java/com/fasterxml/jackson/core
3 files changed +2
-22
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ JSON library.
30
30
#670: Replace references to "field" in `JsonGenerator`, `JsonParser` method names with "property"
31
31
#671: Replace `getCurrentLocation()`/`getTokenLocation()` with
32
32
`currentLocation()`/`currentTokenLocation()`
33
+ #676: Remove `JsonGenerator.canWriteBinaryNatively()` (replaced by
34
+ `StreamWriteCapability.CAN_WRITE_BINARY_NATIVELY`
33
35
- Rename `JsonGenerator.Feature.AUTO_CLOSE_JSON_CONTENT` as `AUTO_CLOSE_CONTENT`
34
36
- Add `TreeCodec.nullNode()`, `TreeNode.isNull()` methods
35
37
- Change the way `JsonLocation.NA` is included in exception messages
Original file line number Diff line number Diff line change @@ -285,24 +285,6 @@ protected JsonGenerator() { }
285
285
*/
286
286
public boolean canWriteTypeId () { return false ; }
287
287
288
- /**
289
- * Introspection method that may be called to see if the underlying
290
- * data format supports "native" binary data; that is, an efficient
291
- * output of binary content without encoding.
292
- *<p>
293
- * Default implementation returns false; overridden by data formats
294
- * that do support native binary content.
295
- *
296
- * @return {@code True} if this generator is capable of writing "raw" Binary
297
- * Content
298
- * (this is typically determined by capabilities of the underlying format);
299
- * {@code false} if not
300
- *
301
- * @deprecated In 3.0, will be removed before final
302
- */
303
- @ Deprecated
304
- public boolean canWriteBinaryNatively () { return false ; }
305
-
306
288
/**
307
289
* Introspection method to call to check whether it is ok to omit
308
290
* writing of Object properties or not. Most formats do allow omission,
Original file line number Diff line number Diff line change @@ -77,10 +77,6 @@ public void assignCurrentValue(Object v) {
77
77
@ Override
78
78
public boolean canWriteObjectId () { return delegate .canWriteObjectId (); }
79
79
80
- @ Deprecated
81
- @ Override
82
- public boolean canWriteBinaryNatively () { return delegate .canWriteBinaryNatively (); }
83
-
84
80
@ Override
85
81
public boolean canOmitProperties () { return delegate .canOmitProperties (); }
86
82
You can’t perform that action at this time.
0 commit comments