Skip to content

refactor: convert log calls to parameterized logging in DDK core#1306

Draft
joaodinissf wants to merge 3 commits intodsldevkit:masterfrom
joaodinissf:chore/pmd-guard-log/ddk-core
Draft

refactor: convert log calls to parameterized logging in DDK core#1306
joaodinissf wants to merge 3 commits intodsldevkit:masterfrom
joaodinissf:chore/pmd-guard-log/ddk-core

Conversation

@joaodinissf
Copy link
Copy Markdown
Collaborator

@joaodinissf joaodinissf commented Apr 6, 2026

Stacked on #1305

Summary

Replace string concatenation, NLS.bind, and MessageFormat.format in log calls with parameterized {} placeholders. Use Supplier/method-refs for lazy argument evaluation. Extract duplicate format strings to constants. Add org.apache.logging.log4j.util to OSGi manifest.

Modules: xtext, typesystem

🤖 Generated with Claude Code

joaodinissf and others added 3 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>
Replace string concatenation, NLS.bind, and MessageFormat.format in
log calls with parameterized {} placeholders. Use Supplier/method-refs
for lazy argument evaluation. Extract duplicate format strings to
constants. Add org.apache.logging.log4j.util to OSGi manifest.

Modules: xtext, typesystem

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@joaodinissf joaodinissf force-pushed the chore/pmd-guard-log/ddk-core branch from a2cd3fe to c1495e1 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