apache / apache/logging-log4j2

Log4j 3.x - StringMatchFilter - guard potential NPEs and builder validation/API

Open
#3,509 0 comments 0 reactions 1 assignee Claimed by @JWT007 View on GitHub
bug configuration java
Dominant language
Java
Stars
3.6k
Forks
1.7k
Avg merge
1d 20h
Merged PRs (30d)
30

Description

This is a parallel of Ticket #3153 for the main (3.x) branch.

StringMatchFilter:

+ add validation on 'text' attribute to class constructor and builder (non-blank)
+ add JVerify nullability annotations to class
+ replace 'setMatchString' builder method with 'setText'
+ add javadoc details about the specific StringMatchFilter implementation/behaviour
+ update tests

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.