Reports all string literals that are replicated unchanged throughout the project.
Example:
class C1 { String CONST1 = "duplicate string"; }
class C2 { String CONST2 = "duplicate string"; }
Configure the inspection:
- Use the Min string length field to set the minimal string length required to detect duplicates.
- Use the Ignore @PropertyKey expressions option to ignore strings passed as arguments to methods annotated with
org.jetbrains.annotations.PropertyKey
.