2017-03-31 19:34:21 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2017-07-26 15:46:19 +02:00
|
|
|
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
|
|
|
|
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
|
2017-03-31 19:34:21 +02:00
|
|
|
<module name='Checker'>
|
|
|
|
|
|
|
|
<property name="localeCountry" value="EN"/>
|
|
|
|
<property name="localeLanguage" value="en"/>
|
|
|
|
|
|
|
|
<module name='TreeWalker'>
|
|
|
|
|
2017-07-26 15:46:19 +02:00
|
|
|
<property name='tabWidth' value='4'/>
|
|
|
|
|
2017-03-31 19:34:21 +02:00
|
|
|
<!-- Block Checks -->
|
|
|
|
|
2017-07-26 15:46:19 +02:00
|
|
|
<module name='EmptyBlock'/>
|
|
|
|
<module name='LeftCurly'/>
|
|
|
|
<module name='NeedBraces'/>
|
|
|
|
<module name='RightCurly'/>
|
|
|
|
<module name='AvoidNestedBlocks'/>
|
2017-03-31 19:34:21 +02:00
|
|
|
<module name="NestedIfDepth">
|
2017-07-04 22:48:19 +02:00
|
|
|
<property name="max" value="2"/>
|
2017-03-31 19:34:21 +02:00
|
|
|
</module>
|
|
|
|
<module name="NestedForDepth">
|
2017-07-04 22:48:19 +02:00
|
|
|
<property name="max" value="2"/>
|
2017-03-31 19:34:21 +02:00
|
|
|
</module>
|
|
|
|
<module name="NestedTryDepth"/>
|
|
|
|
|
|
|
|
<!-- Miscellaneous -->
|
2017-07-26 15:46:19 +02:00
|
|
|
<module name='Indentation'/>
|
2017-03-31 19:34:21 +02:00
|
|
|
<module name="OneStatementPerLine"/>
|
|
|
|
|
|
|
|
<!--- Naming Conventions -->
|
|
|
|
|
2017-07-26 15:46:19 +02:00
|
|
|
<module name='ClassTypeParameterName'/>
|
|
|
|
<module name='ConstantName'/>
|
|
|
|
<module name='LocalFinalVariableName'/>
|
|
|
|
<module name='LocalVariableName'/>
|
|
|
|
<module name='MemberName'/>
|
|
|
|
<module name='MethodName'/>
|
|
|
|
<module name='MethodTypeParameterName'/>
|
2017-03-31 19:34:21 +02:00
|
|
|
|
|
|
|
<module name='PackageName'>
|
2017-07-26 15:46:19 +02:00
|
|
|
<property name='format' value='^[a-z]+(\.[a-z][a-z0-9]*)*$'/>
|
2017-03-31 19:34:21 +02:00
|
|
|
</module>
|
|
|
|
|
2017-07-26 15:46:19 +02:00
|
|
|
<module name='ParameterName'/>
|
|
|
|
<module name='StaticVariableName'/>
|
|
|
|
<module name='TypeName'/>
|
2017-03-31 19:34:21 +02:00
|
|
|
|
|
|
|
<!-- Whitespace -->
|
|
|
|
|
2017-07-26 15:46:19 +02:00
|
|
|
<module name='GenericWhitespace'/>
|
|
|
|
<module name='EmptyForInitializerPad'/>
|
|
|
|
<module name='EmptyForIteratorPad'/>
|
|
|
|
<module name='MethodParamPad'/>
|
2017-03-31 19:34:21 +02:00
|
|
|
|
|
|
|
<module name='NoWhitespaceAfter'>
|
2017-07-26 15:46:19 +02:00
|
|
|
<property name='tokens' value='BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS'/>
|
2017-03-31 19:34:21 +02:00
|
|
|
</module>
|
|
|
|
|
|
|
|
<module name='NoWhitespaceBefore'>
|
2017-07-26 15:46:19 +02:00
|
|
|
<property name='tokens' value='SEMI, DOT, POST_DEC, POST_INC'/>
|
|
|
|
<property name='allowLineBreaks' value='true'/>
|
2017-03-31 19:34:21 +02:00
|
|
|
</module>
|
|
|
|
|
2017-07-26 15:46:19 +02:00
|
|
|
<module name='ParenPad'/>
|
|
|
|
<module name='TypecastParenPad'/>
|
|
|
|
<module name='WhitespaceAfter'/>
|
2017-03-31 19:34:21 +02:00
|
|
|
|
|
|
|
<module name='WhitespaceAround'>
|
2017-07-26 15:46:19 +02:00
|
|
|
<property name='allowEmptyConstructors' value='true'/>
|
|
|
|
<property name='allowEmptyMethods' value='true'/>
|
2017-03-31 19:34:21 +02:00
|
|
|
</module>
|
|
|
|
|
2017-05-14 14:19:16 +02:00
|
|
|
<!-- Javadoc -->
|
|
|
|
<module name="JavadocMethod">
|
|
|
|
<property name="scope" value="public"/>
|
|
|
|
<property name="allowMissingParamTags" value="false"/>
|
|
|
|
<property name="allowMissingPropertyJavadoc" value="true"/>
|
|
|
|
<property name="allowMissingThrowsTags" value="false"/>
|
|
|
|
<property name="allowMissingReturnTag" value="false"/>
|
|
|
|
<property name="allowThrowsTagsForSubclasses" value="true"/>
|
|
|
|
</module>
|
2017-07-26 15:46:19 +02:00
|
|
|
|
2017-05-14 14:19:16 +02:00
|
|
|
<module name="JavadocStyle">
|
|
|
|
<property name="scope" value="public"/>
|
|
|
|
<property name="checkEmptyJavadoc" value="true"/>
|
|
|
|
</module>
|
2017-03-31 19:34:21 +02:00
|
|
|
</module>
|
|
|
|
|
|
|
|
<!-- File Length -->
|
|
|
|
|
|
|
|
<module name='FileLength'>
|
2017-07-26 15:46:19 +02:00
|
|
|
<property name='max' value='2000'/>
|
2017-03-31 19:34:21 +02:00
|
|
|
</module>
|
|
|
|
|
|
|
|
</module>
|