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