Skip to content

[java] Deprecate rules PositionLiteralsFirstIn(CaseInsensitive)Comparisons in favor of LiteralsFirstInComparisons #2145

@linusjf

Description

@linusjf

Affects PMD Version:
6.20.0

Rule:
PositionLiteralsFirstInComparisons
PositionLiteralsFirstInCaseInsensitiveComparisons

Description:
The above two rules must be merged into one with a property to decide whether to ignore case-sensitive or not.

Running PMD through: [CLI | Ant | Maven | Gradle | Designer | Other]

Metadata

Metadata

Assignees

Labels

a:suggestionAn idea, with little analysis on feasibility, to be consideredgood first issueA great starting point for new contributors

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions