All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.puppycrawl.tools.checkstyle.meta.checks.UniquePropertiesCheck.xml Maven / Gradle / Ivy

Go to download

Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard

There is a newer version: 8.8
Show newest version
<?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>&lt;div&gt;
 Detects duplicated keys in properties files.
 &lt;/div&gt;

 &lt;p&gt;
 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.
 &lt;/p&gt;</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