Skip to content

Fix issue 674: false positive on Kotlin AvoidMultipleConcatStatements for mutableMap#687

Draft
stokpop wants to merge 7 commits intopmd7from
pmd7-issue-674
Draft

Fix issue 674: false positive on Kotlin AvoidMultipleConcatStatements for mutableMap#687
stokpop wants to merge 7 commits intopmd7from
pmd7-issue-674

Conversation

@stokpop
Copy link
Copy Markdown
Collaborator

@stokpop stokpop commented Feb 5, 2026

Fixes #674

Added more possible cased of use of + and += without String types.

Also added more test cases that DO use + or += with String types. There are 2 cases that are not found, but there is no fix as of yet. See unit tests that are marked "not detected by current rule".

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Feb 6, 2026

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.

Fix Request: false positive on Kotlin AvoidMultipleConcatStatements for mutableMap

1 participant