make/conf/checkstyle-langtools.xml

Wed, 21 Oct 2020 02:49:53 +0100

author
andrew
date
Wed, 21 Oct 2020 02:49:53 +0100
changeset 3935
c4260ce5d069
parent 0
959103a6100f
permissions
-rw-r--r--

Added tag jdk8u272-ga for changeset 68a2632bf926

     1 <?xml version="1.0"?>
     2 <!DOCTYPE module PUBLIC
     3           "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
     4           "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
     6 <!--
     7    Checks for initial langtools code conventions, we are starting with
     8    imports and import orders and this will grow to encompass other
     9    violations over time. 
    10 -->
    12 <module name="Checker">
    14     <!-- Checks for whitespace. -->
    15     <module name="FileTabCharacter">
    16         <property name="fileExtensions" value=".java"/>
    17     </module>
    19     <!-- Miscellaneous other checks.                   -->
    20     <module name="RegexpSingleline">
    21         <property name="format" value="\s+$"/>
    22         <property name="minimum" value="0"/>
    23         <property name="maximum" value="0"/>
    24         <property name="message" value="Line has trailing spaces."/>
    25         <property name="fileExtensions" value=".java .html"/>
    26     </module>
    28     <module name="TreeWalker">
    29     <!-- Checks for imports                              -->
    30     <!--
    31         <module name="AvoidStarImport"/>
    32         <module name="IllegalImport"/>
    33     -->
    34         <module name="GenericWhitespace"/>
    35         <module name="RedundantImport"/>
    36         <module name="UnusedImports"/>  
    37         <module name="ImportOrder">
    38             <property name="groups" value="java, javax, org, com"/>
    39             <property name="ordered" value="true"/>
    40             <property name="separated" value="true"/>
    41         </module>        
    42         <module name="EmptyForInitializerPad">
    43             <property name="option" value="space"/>
    44         </module>
    45         <module name="WhitespaceAfter"/>
    46     </module>
    47 </module>

mercurial