
com.puppycrawl.tools.checkstyle.meta.checks.UniquePropertiesCheck.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of checkstyle Show documentation
Show all versions of checkstyle Show documentation
Checkstyle is a development tool to help programmers write Java code
that adheres to a coding standard
<?xml version="1.0" encoding="UTF-8"?> <checkstyle-metadata> <module> <check fully-qualified-name="com.puppycrawl.tools.checkstyle.checks.UniquePropertiesCheck" name="UniqueProperties" parent="com.puppycrawl.tools.checkstyle.Checker"> <description><div> Detects duplicated keys in properties files. </div> <p> Rationale: Multiple property keys usually appear after merge or rebase of several branches. While there are no problems in runtime, there can be a confusion due to having different values for the duplicated properties. </p></description> <properties> <property default-value=".properties" name="fileExtensions" type="java.lang.String[]"> <description>Specify the file extensions of the files to process.</description> </property> </properties> <message-keys> <message-key key="properties.duplicate.property"/> <message-key key="unable.open.cause"/> </message-keys> </check> </module> </checkstyle-metadata>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy