Skip to content

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

Merged
joaodinissf merged 1 commit into
dsldevkit:masterfrom
joaodinissf:chore/pmd-guard-log/ddk-core
May 19, 2026
Merged

refactor: convert log calls to parameterized logging in DDK core#1306
joaodinissf merged 1 commit into
dsldevkit:masterfrom
joaodinissf:chore/pmd-guard-log/ddk-core

Conversation

@joaodinissf
Copy link
Copy Markdown
Collaborator

@joaodinissf joaodinissf commented Apr 6, 2026

Replaces string concatenation, NLS.bind, and MessageFormat.format in LOGGER.x(...) calls with parameterized {} placeholders, using Supplier/method-refs for lazy argument evaluation. Extracts duplicate format strings to constants where they appear twice. Adds org.apache.logging.log4j.util to the xtext bundle's OSGi manifest for the Supplier import. Modules touched: xtext, typesystem.

🤖 Generated with Claude Code

rubenporras
rubenporras previously approved these changes May 18, 2026
Replaces string concatenation, `NLS.bind`, and `MessageFormat.format` in `LOGGER.x(...)` calls with parameterized `{}` placeholders, using `Supplier`/method-refs for lazy argument evaluation. Extracts duplicate format strings to constants where they appear twice. Adds `org.apache.logging.log4j.util` to the `xtext` bundle's OSGi manifest for the `Supplier` import. Modules touched: `xtext`, `typesystem`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@joaodinissf joaodinissf force-pushed the chore/pmd-guard-log/ddk-core branch from 6a53381 to abe7b93 Compare May 18, 2026 18:26
@joaodinissf joaodinissf enabled auto-merge (rebase) May 18, 2026 18:27
@joaodinissf
Copy link
Copy Markdown
Collaborator Author

@rubenporras fixed a minor nit, could you please re-review?

@joaodinissf joaodinissf merged commit 0f88cbf into dsldevkit:master May 19, 2026
4 checks passed
@joaodinissf joaodinissf deleted the chore/pmd-guard-log/ddk-core branch May 19, 2026 13:21
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.

2 participants