Pattern: Duplicate key in properties file
Issue: -
Checks properties files for duplicated keys.
Rationale: Multiple property keys usually appear after merge or rebase of several branches. While there are no errors in runtime, there can be a confusion due to having different values for the duplicated properties.
To configure the check:
<module name="UniqueProperties">
<property name="fileExtensions" value="properties" />
</module>