Skip to content

Commit

Permalink
Update release notes wrt #3819
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Mar 11, 2023
1 parent 119addc commit 78c675d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
3 changes: 3 additions & 0 deletions release-notes/CREDITS-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -1548,6 +1548,9 @@ Joo Hyuk Kim (JooHyukKim@github)
* Contributed #3638: Case-insensitive and number-based enum deserialization are
(unnecessarily) mutually exclusive
(2.15.0)
* Contributed #3819: Add convenience method `SimpleBeanPropertyFilter.filterOutAll()` as
counterpart of `serializeAll()`
(2.15.0)
Vojtěch Knyttl (knyttl@github)
* Requested #3053: Allow serializing enums to lowercase (`EnumFeature.WRITE_ENUMS_TO_LOWERCASE`)
Expand Down
3 changes: 3 additions & 0 deletions release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ Project: jackson-databind
(reported by Christoph S)
#3796: Enum Deserialisation Failing with Polymorphic type validator
(reported by @sagarika4)
#3819: Add convenience method `SimpleBeanPropertyFilter.filterOutAll()` as
counterpart of `serializeAll()`
(contributed by Joo-Hyuk K)

2.14.3 (not yet released)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,17 +268,13 @@ public static class FilterExceptFilter
{
private static final long serialVersionUID = 1L;

static final FilterExceptFilter EXCLUDE_ALL = new FilterExceptFilter();
static final FilterExceptFilter EXCLUDE_ALL = new FilterExceptFilter(Collections.emptySet());

/**
* Set of property names to serialize.
*/
protected final Set<String> _propertiesToInclude;

FilterExceptFilter() {
_propertiesToInclude = Collections.emptySet();
}

public FilterExceptFilter(Set<String> properties) {
_propertiesToInclude = properties;
}
Expand All @@ -304,17 +300,13 @@ public static class SerializeExceptFilter
{
private static final long serialVersionUID = 1L;

final static SerializeExceptFilter INCLUDE_ALL = new SerializeExceptFilter();
final static SerializeExceptFilter INCLUDE_ALL = new SerializeExceptFilter(Collections.emptySet());

/**
* Set of property names to filter out.
*/
protected final Set<String> _propertiesToExclude;

SerializeExceptFilter() {
_propertiesToExclude = Collections.emptySet();
}

public SerializeExceptFilter(Set<String> properties) {
_propertiesToExclude = properties;
}
Expand Down

0 comments on commit 78c675d

Please sign in to comment.