Skip to content

Commit

Permalink
Fix #1146: add missing JsonParserDelegate overrides (#1147)
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Nov 26, 2023
1 parent 687c5b4 commit ff57898
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
5 changes: 5 additions & 0 deletions release-notes/CREDITS-2.x
Expand Up @@ -372,3 +372,8 @@ Dai Mikurube (dmikurube@github)
* Contributed #1111: Call the right `filterFinishArray()`/`filterFinishObject()`
from `FilteringParserDelegate`
(2.15.3)

Simon Baslé (simonbasle@github)
* Reported #1146: `JsonParserDelegate` missing overrides for `canParseAsync()`,
`getNonBlockingInputFeeder()`
(2.15.4)
6 changes: 6 additions & 0 deletions release-notes/VERSION-2.x
Expand Up @@ -14,6 +14,12 @@ a pure JSON library.
=== Releases ===
------------------------------------------------------------------------

2.15.4 (not yet released)

#1146: `JsonParserDelegate` missing overrides for `canParseAsync()`,
`getNonBlockingInputFeeder()`
(reported by Simon B)

2.15.3 (12-Oct-2023)

#1111: Call the right `filterFinishArray()`/`filterFinishObject()`
Expand Down
Expand Up @@ -7,6 +7,7 @@
import java.math.BigInteger;

import com.fasterxml.jackson.core.*;
import com.fasterxml.jackson.core.async.NonBlockingInputFeeder;

/**
* Helper class that implements
Expand Down Expand Up @@ -92,9 +93,25 @@ public StreamReadConstraints streamReadConstraints() {
/**********************************************************************
*/

@Override public boolean requiresCustomCodec() { return delegate.requiresCustomCodec(); }
@Override
public boolean canParseAsync() {
return delegate.canParseAsync();
}

@Override
public NonBlockingInputFeeder getNonBlockingInputFeeder() {
return delegate.getNonBlockingInputFeeder();
}

@Override public JacksonFeatureSet<StreamReadCapability> getReadCapabilities() { return delegate.getReadCapabilities(); }
@Override
public JacksonFeatureSet<StreamReadCapability> getReadCapabilities() {
return delegate.getReadCapabilities();
}

@Override
public boolean requiresCustomCodec() {
return delegate.requiresCustomCodec();
}

/*
/**********************************************************************
Expand Down

0 comments on commit ff57898

Please sign in to comment.