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

Validate CleanupConfig when building ErrorContexts #308

Merged

Conversation

sleberknight
Copy link
Member

  • Add CleanupConfig arg to checkCommonArguments and validate if not null
  • There is no need to call checkCommonArguments in buildWithJdbi3 in ErrorContextBuilder because the Jdbi3Context constructor performs validation itself (as does SimpleErrorContext)

Closes #307

* Add CleanupConfig arg to checkCommonArguments and validate if not null
* There is no need to call checkCommonArguments in buildWithJdbi3 in
  ErrorContextBuilder because the Jdbi3Context constructor performs
  validation itself (as does SimpleErrorContext)

Closes #307
@sonarcloud
Copy link

sonarcloud bot commented Oct 26, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@chrisrohr chrisrohr merged commit 848ee9c into master Oct 26, 2023
6 checks passed
@chrisrohr chrisrohr deleted the 307-validate-CleanupConfig-when-creating-ErrorContexts branch October 26, 2023 16:41
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.

CleanupConfig should be validated when building ErrorContext implementations
2 participants