jdk
1<?xml version="1.0"?>
2<!DOCTYPE module PUBLIC3"-//Puppy Crawl//DTD Check Configuration 1.3//EN"4"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">5
6<!--
7Checks for initial langtools code conventions, we are starting with
8imports and import orders and this will grow to encompass other
9violations over time.
10-->
11
12<module name="Checker">13
14<!-- Checks for whitespace. -->15<module name="FileTabCharacter">16<property name="fileExtensions" value=".java"/>17</module>18
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>27
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>