Skip to content

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

Draft
stokpop wants to merge 7 commits into
pmd7from
pmd7-issue-674
Draft

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

Conversation

@stokpop

@stokpop stokpop commented Feb 5, 2026

Copy link
Copy Markdown
Collaborator

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

sonarqubecloud Bot commented Feb 6, 2026

Copy link
Copy Markdown

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