Skip to content

InstanceFilter and ExceptionTypeFilter should set matchIfEmpty to true by default #35158

Closed
@sbrannen

Description

@sbrannen

The constructors for InstanceFilter and ExceptionTypeFilter currently require one to supply the matchIfEmpty flag.

However, users will typically want that to be true.

Moreover, we always supply true for the matchIfEmpty flag within the Spring Framework.

Thus, the matchIfEmpty flag should really be an optional flag.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions