root/lib/epcis-0.5.0/src/config/epcis_checks.xml @ 96454bcd
2e0a7cb1 | Sylvain L. Sauvage | <?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|||
This is a user defined checkstyle configuration file used throughout the EPCIS project.
|
|||
It removes some ugly formatting warnings from the default configuration such that it
|
|||
is feasible to work and rely on checkstyle.
|
|||
-->
|
|||
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
|
|||
<module name="Checker">
|
|||
<property name="severity" value="warning"/>
|
|||
<module name="TreeWalker">
|
|||
<module name="ArrayTypeStyle"/>
|
|||
<module name="AvoidNestedBlocks"/>
|
|||
<module name="AvoidStarImport"/>
|
|||
<module name="ConstantName"/>
|
|||
<module name="DefaultComesLast"/>
|
|||
<module name="DoubleCheckedLocking"/>
|
|||
<module name="EmptyBlock">
|
|||
<property name="option" value="text"/>
|
|||
</module>
|
|||
<module name="EmptyForIteratorPad"/>
|
|||
<module name="EmptyStatement"/>
|
|||
<module name="EqualsHashCode"/>
|
|||
<module name="JavadocMethod"/>
|
|||
<module name="JavadocType"/>
|
|||
<module name="JavadocVariable">
|
|||
<!-- private variables need no javadoc -->
|
|||
<property name="scope" value="public"/>
|
|||
<property name="excludeScope" value="private"/>
|
|||
</module>
|
|||
<module name="JavadocStyle"/>
|
|||
<module name="LocalFinalVariableName"/>
|
|||
<module name="LocalVariableName"/>
|
|||
<module name="MemberName"/>
|
|||
<module name="MethodName"/>
|
|||
<module name="PackageName"/>
|
|||
<module name="ParameterName"/>
|
|||
<module name="StaticVariableName"/>
|
|||
<module name="TypeName"/>
|
|||
<module name="IllegalImport"/>
|
|||
<module name="RedundantImport"/>
|
|||
<module name="UnusedImports"/>
|
|||
<module name="MethodLength">
|
|||
<property name="countEmpty" value="false"/>
|
|||
</module>
|
|||
<module name="ParameterNumber"/>
|
|||
<module name="MethodParamPad"/>
|
|||
<module name="NoWhitespaceAfter"/>
|
|||
<module name="NoWhitespaceBefore"/>
|
|||
<module name="OperatorWrap"/>
|
|||
<module name="ParenPad"/>
|
|||
<module name="TypecastParenPad"/>
|
|||
<module name="WhitespaceAfter"/>
|
|||
<module name="WhitespaceAround">
|
|||
<property name="tokens" value="ASSIGN,BAND,BAND_ASSIGN,BOR,BOR_ASSIGN,BSR,BSR_ASSIGN,BXOR,BXOR_ASSIGN,COLON,DIV,DIV_ASSIGN,EQUAL,GE,GT,LAND,LCURLY,LE,LITERAL_ASSERT,LITERAL_CATCH,LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,LITERAL_RETURN,LITERAL_SYNCHRONIZED,LITERAL_TRY,LITERAL_WHILE,LOR,LT,MINUS,MINUS_ASSIGN,MOD,MOD_ASSIGN,NOT_EQUAL,PLUS,PLUS_ASSIGN,QUESTION,RCURLY,SL,SLIST,SL_ASSIGN,SR,SR_ASSIGN,STAR,STAR_ASSIGN,LITERAL_ASSERT,TYPE_EXTENSION_AND,WILDCARD_TYPE"/>
|
|||
</module>
|
|||
<module name="ModifierOrder"/>
|
|||
<module name="RedundantModifier"/>
|
|||
<module name="LeftCurly"/>
|
|||
<module name="NeedBraces"/>
|
|||
<module name="RightCurly"/>
|
|||
<module name="HiddenField">
|
|||
<property name="ignoreConstructorParameter" value="true"/>
|
|||
<property name="ignoreSetter" value="true"/>
|
|||
</module>
|
|||
<module name="IllegalInstantiation"/>
|
|||
<module name="InnerAssignment"/>
|
|||
<module name="MissingSwitchDefault"/>
|
|||
<module name="RedundantThrows"/>
|
|||
<module name="SimplifyBooleanExpression"/>
|
|||
<module name="SimplifyBooleanReturn"/>
|
|||
<module name="FinalClass"/>
|
|||
<module name="HideUtilityClassConstructor"/>
|
|||
<module name="InterfaceIsType"/>
|
|||
<module name="VisibilityModifier"/>
|
|||
<module name="FinalParameters"/>
|
|||
<module name="RegexpSinglelineJava">
|
|||
<property name="format" value="\s+$"/>
|
|||
<property name="ignoreComments" value="true"/>
|
|||
<property name="message" value="Line has trailing spaces."/>
|
|||
</module>
|
|||
<module name="TodoComment">
|
|||
<property name="severity" value="info"/>
|
|||
</module>
|
|||
<module name="UpperEll"/>
|
|||
<module name="DefaultComesLast"/>
|
|||
<module name="DeclarationOrder"/>
|
|||
</module>
|
|||
<module name="Header">
|
|||
<property name="headerFile" value="${samedir}/HEADER.txt"/>
|
|||
</module>
|
|||
<module name="FileLength"/>
|
|||
<module name="FileTabCharacter"/>
|
|||
<module name="JavadocPackage"/>
|
|||
<module name="NewlineAtEndOfFile">
|
|||
<property name="lineSeparator" value="lf"/>
|
|||
</module>
|
|||
<module name="Translation"/>
|
|||
<module name="SuppressionFilter">
|
|||
<property name="file" value="${samedir}/suppressions.xml"/>
|
|||
</module>
|
|||
</module>
|