logging-log4j2 icon indicating copy to clipboard operation
logging-log4j2 copied to clipboard

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

Open JWT007 opened this issue 8 months ago • 0 comments

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

JWT007 avatar Mar 02 '25 08:03 JWT007