Skip to content

refactor: convert log calls to parameterized logging in test utilities#1305

Draft
joaodinissf wants to merge 2 commits intodsldevkit:masterfrom
joaodinissf:chore/pmd-guard-log/test-utilities
Draft

refactor: convert log calls to parameterized logging in test utilities#1305
joaodinissf wants to merge 2 commits intodsldevkit:masterfrom
joaodinissf:chore/pmd-guard-log/test-utilities

Conversation

@joaodinissf
Copy link
Copy Markdown
Collaborator

@joaodinissf joaodinissf commented Apr 6, 2026

Stacked on #1304

Summary

Replace string concatenation with parameterized {} placeholders. Use Supplier lambdas for lazy argument evaluation. Add NOPMD suppressions for SwtBot's SLF4J logger. Add org.apache.logging.log4j.util to OSGi manifests.

Modules: test.core, test.ui

🤖 Generated with Claude Code

joaodinissf and others added 2 commits April 6, 2026 22:35
Replace string concatenation, NLS.bind, and MessageFormat.format in
log calls with parameterized {} placeholders. Use Supplier/method-refs
for lazy argument evaluation where appropriate.

Modules: check.core.test, check.runtime.core, check.runtime.ui,
check.ui, checkcfg.core

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace string concatenation with parameterized {} placeholders.
Use Supplier lambdas for lazy argument evaluation. Add NOPMD
suppressions for SLF4J logger calls (SwtBot uses SLF4J, not Log4j).
Add org.apache.logging.log4j.util to OSGi manifests for Supplier.

Modules: test.core, test.ui

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@joaodinissf joaodinissf force-pushed the chore/pmd-guard-log/test-utilities branch from faba54c to 99f9599 Compare April 6, 2026 20:42
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.

1 participant