Skip to content

Fix string concatenation in logger statements #88

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

Merged
merged 1 commit into from
Jun 11, 2025

Conversation

ic0ns
Copy link
Contributor

@ic0ns ic0ns commented Jun 11, 2025

Summary

  • Replace string concatenation with parameterized logging in ThreadedScanJobExecutor and KeyValueContainer
  • Improves performance by avoiding unnecessary string operations when logging is disabled
  • Follows best practices for log4j usage

Fixes #80

Replace string concatenation with parameterized logging to improve performance
and avoid unnecessary string operations when logging is disabled.

- Updated ThreadedScanJobExecutor debug and error logging
- Updated KeyValueContainer warning message formatting

Fixes #80
@ic0ns ic0ns merged commit 98e2003 into main Jun 11, 2025
12 checks passed
@ic0ns ic0ns deleted the fix/issue-80-logger-concatenation branch June 11, 2025 06:56
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.

Avoid using String Concatenation in Logger Statements
1 participant