[java] ConsecutiveLiteralAppends and InsufficientStringBufferDeclaration: FP with switch expressions #3152
Labels
a:false-positive
PMD flags a piece of code that is not problematic
Milestone
Since PMD 6.27.0, still in the latest 6.32.0, needs at least Java15 due to Switch Expressions
Rules: ConsecutiveLiteralAppends and InsufficientStringBufferDeclaration
I encountered similar issues, with PMD 6.31.0/6.32.0
the following code are causing both PMD.InsufficientStringBufferDeclaration, PMD.ConsecutiveLiteralAppends
PMD 6.30.0 works fineOriginally posted by @neowu in #2427 (comment)
The text was updated successfully, but these errors were encountered: