Skip to content

[java] [doc] ConsecutiveAppendsShouldReuse is it really an optimization? #202

@noamtamim

Description

@noamtamim

Rule Set:
ConsecutiveAppendsShouldReuse

Description:
This is presented as a performance optimization. This is wrong, it doesn't really optimize anything and it's a waste of time to "fix". And if someone's code is more readable without it, they should avoid the "fix".
The description is misleading.

Code Sample demonstrating the issue:
Not relevant.

Running PMD through: [CLI | Ant | Maven | Gradle | Designer | Other]
Doesn't matter.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions