Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix(#3239) NPE, for RegexFilter creator. #3265

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

jaykataria1111
Copy link
Contributor

fix for #3239

Checklist

  • Base your changes on 2.x branch if you are targeting Log4j 2; use main otherwise
  • ./mvnw verify succeeds (if it fails due to code formatting issues reported by Spotless, simply run ./mvnw spotless:apply and retry)
  • Non-trivial changes contain an entry file in the src/changelog/.2.x.x directory
  • Tests for the changes are provided
  • Commits are signed (optional, but highly recommended)

Copy link

github-actions bot commented Dec 3, 2024

Job Requested goals Build Tool Version Build Outcome Build Scan®
build-macos-latest clean install 3.9.8 Build Scan PUBLISHED
build-ubuntu-latest clean install 3.9.8 Build Scan PUBLISHED
build-windows-latest clean install 3.9.8 Build Scan PUBLISHED
Generated by gradle/develocity-actions

Copy link
Contributor

@ppkarwasz ppkarwasz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jaykataria1111,

Can you add a unit test to see if createFilter does not throw with all parameters (except regex) equal to null?

@jaykataria1111
Copy link
Contributor Author

@ppkarwasz added the test, and updated the code :)

@jaykataria1111
Copy link
Contributor Author

@ppkarwasz , this one is still open I will rebase this just for tracking purposes, I do not recall any action items on this would you remember?

@jaykataria1111
Copy link
Contributor Author

@ppkarwasz I have rebased the commit, let me know if anything else is needed on this or we can close this out. Thanks for this!

@ppkarwasz
Copy link
Contributor

Can you add a changelog entry?

@jaykataria1111
Copy link
Contributor Author

jaykataria1111 commented Jan 7, 2025 via email

@jaykataria1111
Copy link
Contributor Author

@ppkarwasz posted an update .

@ppkarwasz ppkarwasz mentioned this pull request Jan 8, 2025
19 tasks
@ppkarwasz ppkarwasz merged commit 95b586d into apache:2.x Jan 8, 2025
9 checks passed
@ppkarwasz
Copy link
Contributor

Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants