2011-12-11 01:44:11 +01:00
|
|
|
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
~ Multiverse 2 Copyright (c) the Multiverse Team 2011. ~
|
|
|
|
~ Multiverse 2 is licensed under the BSD License. ~
|
|
|
|
~ For more information please check the README.md file included ~
|
|
|
|
~ with this project. ~
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
|
|
|
|
|
2012-01-04 13:17:10 +01:00
|
|
|
<!DOCTYPE module PUBLIC
|
|
|
|
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
|
|
|
|
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
|
2011-12-11 01:44:11 +01:00
|
|
|
<!-- Future reference: valid severity values are 'ignore', 'info', 'warning', 'error' -->
|
|
|
|
<module name="Checker">
|
2012-01-01 21:09:52 +01:00
|
|
|
<module name="JavadocPackage">
|
|
|
|
<property name="allowLegacy" value="true"/>
|
|
|
|
</module>
|
2012-01-28 15:48:46 +01:00
|
|
|
<module name="NewlineAtEndOfFile" />
|
2011-12-11 01:44:11 +01:00
|
|
|
<module name="Translation"/>
|
|
|
|
<module name="FileLength"/>
|
|
|
|
<module name="FileTabCharacter">
|
|
|
|
<property name="eachLine" value="true"/>
|
|
|
|
</module>
|
|
|
|
<module name="RegexpSingleline">
|
|
|
|
<property name="message" value="Line has trailing spaces."/>
|
|
|
|
<property name="format" value="\s+$"/>
|
|
|
|
</module>
|
2012-01-04 13:17:10 +01:00
|
|
|
<module name="SuppressWithNearbyCommentFilter">
|
|
|
|
<property name="commentFormat" value="SUPPRESS CHECKSTYLE: (\w+)"/>
|
|
|
|
<property name="checkFormat" value="$1"/>
|
|
|
|
</module>
|
|
|
|
<module name="SuppressionCommentFilter">
|
|
|
|
<property name="offCommentFormat" value="BEGIN CHECKSTYLE-SUPPRESSION\: (\w+)"/>
|
|
|
|
<property name="onCommentFormat" value="END CHECKSTYLE-SUPPRESSION\: (\w+)"/>
|
|
|
|
<property name="checkFormat" value="$1"/>
|
|
|
|
</module>
|
|
|
|
<module name="SuppressionCommentFilter">
|
|
|
|
<property name="offCommentFormat" value="BEGIN CHECKSTYLE-SUPPRESSION\: ALL"/>
|
|
|
|
<property name="onCommentFormat" value="END CHECKSTYLE-SUPPRESSION\: ALL"/>
|
|
|
|
</module>
|
2011-12-11 01:44:11 +01:00
|
|
|
<module name="TreeWalker">
|
|
|
|
<!-- Make suppression possible -->
|
|
|
|
<module name="FileContentsHolder"/>
|
|
|
|
<!-- Actual checks -->
|
|
|
|
<module name="LineLength">
|
|
|
|
<property name="max" value="160"/>
|
|
|
|
<property name="severity" value="warning"/>
|
|
|
|
</module>
|
2011-12-12 16:33:29 +01:00
|
|
|
<module name="JavadocMethod">
|
|
|
|
<property name="scope" value="package"/><!-- We don't need javadoc for private methods -->
|
|
|
|
<property name="tokens" value="METHOD_DEF"/><!-- We don't need javadoc for constructors -->
|
|
|
|
</module>
|
2011-12-11 01:44:11 +01:00
|
|
|
<module name="JavadocType"/>
|
2011-12-12 16:33:29 +01:00
|
|
|
<module name="JavadocVariable">
|
|
|
|
<property name="scope" value="package"/><!-- We don't need javadoc for private variables -->
|
|
|
|
</module>
|
2011-12-11 01:44:11 +01:00
|
|
|
<module name="JavadocStyle"/>
|
2011-12-12 16:31:04 +01:00
|
|
|
<module name="WriteTag">
|
|
|
|
<property name="tag" value="@author"/>
|
|
|
|
<property name="tagFormat" value="\S"/>
|
|
|
|
<property name="severity" value="ignore"/>
|
|
|
|
<property name="tagSeverity" value="warning"/>
|
|
|
|
</module>
|
2011-12-11 01:44:11 +01:00
|
|
|
<module name="ConstantName"/>
|
|
|
|
<module name="LocalVariableName"/>
|
|
|
|
<module name="MemberName"/>
|
|
|
|
<module name="MethodName"/>
|
|
|
|
<module name="PackageName"/>
|
|
|
|
<module name="ParameterName"/>
|
|
|
|
<module name="StaticVariableName"/>
|
|
|
|
<module name="TypeName"/>
|
|
|
|
<module name="AvoidStarImport">
|
|
|
|
<property name="severity" value="warning"/>
|
2011-12-12 16:23:36 +01:00
|
|
|
<property name="excludes" value="com.onarandombox.MultiverseCore.utils,com.onarandombox.MultiverseCore.configuration,com.onarandombox.MultiverseCore.commands,com.onarandombox.MultiverseCore.destination"/>
|
2011-12-11 01:44:11 +01:00
|
|
|
</module>
|
|
|
|
<module name="IllegalImport"/>
|
|
|
|
<module name="RedundantImport"/>
|
2012-01-01 21:10:51 +01:00
|
|
|
<module name="UnusedImports">
|
|
|
|
<property name="processJavadoc" value="true"/>
|
|
|
|
</module>
|
2011-12-11 01:44:11 +01:00
|
|
|
<module name="MethodLength"/>
|
|
|
|
<module name="ParameterNumber"/>
|
|
|
|
<module name="EmptyForIteratorPad"/>
|
|
|
|
<module name="MethodParamPad"/>
|
2012-01-03 15:00:39 +01:00
|
|
|
<module name="NoWhitespaceAfter">
|
|
|
|
<property name="tokens" value="BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"/>
|
|
|
|
</module>
|
2011-12-11 01:44:11 +01:00
|
|
|
<module name="NoWhitespaceBefore"/>
|
|
|
|
<module name="OperatorWrap"/>
|
|
|
|
<module name="ParenPad"/>
|
|
|
|
<module name="TypecastParenPad"/>
|
|
|
|
<module name="WhitespaceAfter">
|
|
|
|
<property name="severity" value="warning"/>
|
|
|
|
</module>
|
|
|
|
<module name="WhitespaceAround">
|
|
|
|
<property name="severity" value="warning"/>
|
|
|
|
</module>
|
|
|
|
<module name="ModifierOrder"/>
|
|
|
|
<module name="RedundantModifier"/>
|
|
|
|
<module name="AvoidNestedBlocks"/>
|
2011-12-12 17:22:47 +01:00
|
|
|
<module name="EmptyBlock">
|
|
|
|
<property name="tokens" value="LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_IF,LITERAL_FOR,LITERAL_TRY,LITERAL_WHILE,INSTANCE_INIT,STATIC_INIT"/>
|
|
|
|
</module>
|
2011-12-11 01:44:11 +01:00
|
|
|
<module name="LeftCurly"/>
|
|
|
|
<module name="RightCurly"/>
|
|
|
|
<module name="DoubleCheckedLocking"/>
|
|
|
|
<module name="EmptyStatement"/>
|
|
|
|
<module name="EqualsHashCode"/>
|
2011-12-12 16:58:19 +01:00
|
|
|
<module name="HiddenField">
|
|
|
|
<property name="tokens" value="VARIABLE_DEF"/><!-- We don't care if parameters hide fields. -->
|
|
|
|
</module>
|
2011-12-11 01:44:11 +01:00
|
|
|
<module name="IllegalInstantiation"/>
|
|
|
|
<module name="InnerAssignment"/>
|
2011-12-31 19:56:53 +01:00
|
|
|
<module name="MagicNumber">
|
2012-01-04 13:17:10 +01:00
|
|
|
<property name="ignoreNumbers" value="-1, 0, 0.5, 1, 2, 3"/>
|
2011-12-31 19:56:53 +01:00
|
|
|
</module>
|
2011-12-11 01:44:11 +01:00
|
|
|
<module name="MissingSwitchDefault"/>
|
|
|
|
<module name="RedundantThrows"/>
|
|
|
|
<module name="SimplifyBooleanExpression"/>
|
|
|
|
<module name="SimplifyBooleanReturn"/>
|
|
|
|
<!-- Don't like errors for `final` missing
|
|
|
|
<module name="DesignForExtension"/>
|
|
|
|
<module name="FinalClass"/>
|
|
|
|
-->
|
|
|
|
<module name="HideUtilityClassConstructor"/>
|
|
|
|
<module name="InterfaceIsType"/>
|
|
|
|
<module name="VisibilityModifier">
|
|
|
|
<property name="protectedAllowed" value="true"/>
|
|
|
|
</module>
|
|
|
|
<module name="ArrayTypeStyle"/>
|
|
|
|
<!-- Don't like errors for `final` missing
|
|
|
|
<module name="FinalParameters"/>
|
|
|
|
-->
|
2011-12-12 16:39:01 +01:00
|
|
|
<module name="TodoComment">
|
|
|
|
<property name="severity" value="info"/>
|
|
|
|
</module>
|
2011-12-11 01:44:11 +01:00
|
|
|
<module name="UpperEll"/>
|
2012-01-01 17:22:05 +01:00
|
|
|
<module name="Indentation"/>
|
|
|
|
<module name="MissingDeprecated"/>
|
|
|
|
<module name="MissingOverride"/>
|
2011-12-11 01:44:11 +01:00
|
|
|
</module>
|
|
|
|
</module>
|