Skip to content

Commit

Permalink
Update release notes wrt #1157
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Dec 8, 2023
1 parent 4518d17 commit 45bb3b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ a pure JSON library.

2.17.0 (not yet released)

-
#1157: Use fast parser (FDP) for large `BigDecimal`s (500+ chars)
(contributed by @pjfanning)

2.16.1 (not yet released)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,6 @@ public Object getCurrentValue() {
return currentValue();
}

// TODO: deprecate in 2.14 or later
/**
* Alias for {@link #assignCurrentValue}, to be deprecated in later
* Jackson 2.x versions (and removed from Jackson 3.0).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,14 @@ protected GeneratorBase(int features, ObjectCodec codec, IOContext ioContext, Js
*/
@Override public Version version() { return PackageVersion.VERSION; }

// Overridden from JsonGenerator for direct context access:
@Override
public Object currentValue() {
return _writeContext.getCurrentValue();
}

@Override
// Overridden from JsonGenerator for direct context access:
public void assignCurrentValue(Object v) {
if (_writeContext != null) {
_writeContext.setCurrentValue(v);
Expand Down

0 comments on commit 45bb3b1

Please sign in to comment.