SVN layout migration for core/branches/Branch_3_2

git-svn-id: https://svn.jboss.org/repos/hibernate/core/branches/Branch_3_2@11771 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Steve Ebersole 2007-06-29 19:52:33 +00:00
parent f93e6bb8a3
commit 48b7f96933
1 changed files with 115 additions and 0 deletions

115
checkstyle_checks.xml Normal file
View File

@ -0,0 +1,115 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.1//EN" "http://www.puppycrawl.com/dtds/configuration_1_1.dtd">
<module name="Checker">
<module name="TreeWalker">
<module name="com.puppycrawl.tools.checkstyle.checks.blocks.AvoidNestedBlocksCheck">
<property name="severity" value="warning"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck">
<property name="severity" value="warning"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.naming.ConstantNameCheck">
<property name="format" value="^[A-Z](_?[A-Z0-9]+)*$|log"/>
<property name="severity" value="warning"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.coding.EmptyStatementCheck">
<property name="severity" value="warning"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.coding.EqualsHashCodeCheck">
<property name="severity" value="warning"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.design.FinalClassCheck">
<property name="severity" value="warning"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.GenericIllegalRegexpCheck">
<property name="format" value="\(\(|\)\)"/>
<property name="ignoreCase" value="false"/>
<property name="message" value="stacked parentheses"/>
<property name="severity" value="warning"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.coding.HiddenFieldCheck">
<property name="severity" value="warning"/>
<property name="tokens" value="VARIABLE_DEF"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.design.HideUtilityClassConstructorCheck">
<property name="severity" value="warning"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.coding.IllegalInstantiationCheck">
<property name="classes" value="{}"/>
<property name="severity" value="warning"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.coding.InnerAssignmentCheck">
<property name="severity" value="warning"/>
<property name="tokens" value="ASSIGN, BAND_ASSIGN, BOR_ASSIGN, BSR_ASSIGN, BXOR_ASSIGN, DIV_ASSIGN, MINUS_ASSIGN, MOD_ASSIGN, PLUS_ASSIGN, SL_ASSIGN, SR_ASSIGN, STAR_ASSIGN"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.design.InterfaceIsTypeCheck">
<property name="allowMarkerInterfaces" value="true"/>
<property name="severity" value="warning"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.blocks.LeftCurlyCheck">
<property name="maxLineLength" value="80"/>
<property name="option" value="eol"/>
<property name="severity" value="warning"/>
<property name="tokens" value="CLASS_DEF, CTOR_DEF, INTERFACE_DEF, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE, METHOD_DEF"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.naming.LocalFinalVariableNameCheck">
<property name="format" value="^[a-z][a-zA-Z0-9]*$"/>
<property name="severity" value="warning"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.naming.LocalVariableNameCheck">
<property name="format" value="^[a-z][a-zA-Z0-9]*$"/>
<property name="severity" value="warning"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck">
<property name="format" value="^[a-z][a-zA-Z0-9]*$"/>
<property name="severity" value="warning"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck">
<property name="format" value="^[a-z][a-zA-Z0-9]*$"/>
<property name="severity" value="warning"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.ModifierOrderCheck">
<property name="severity" value="warning"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck">
<property name="severity" value="warning"/>
<property name="tokens" value="LITERAL_DO, LITERAL_ELSE"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.naming.PackageNameCheck">
<property name="format" value="^[a-z]+(\.[a-zA-Z_][a-zA-Z0-9_]*)*$"/>
<property name="severity" value="warning"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.imports.RedundantImportCheck">
<property name="severity" value="warning"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyCheck">
<property name="option" value="alone"/>
<property name="severity" value="warning"/>
<property name="tokens" value="LITERAL_CATCH, LITERAL_ELSE, LITERAL_TRY"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanExpressionCheck">
<property name="severity" value="warning"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanReturnCheck">
<property name="severity" value="warning"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.naming.StaticVariableNameCheck">
<property name="format" value="^[a-z][a-zA-Z0-9]*$"/>
<property name="severity" value="warning"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.naming.TypeNameCheck">
<property name="format" value="^[A-Z][a-zA-Z0-9]*$"/>
<property name="severity" value="warning"/>
<property name="tokens" value="CLASS_DEF, INTERFACE_DEF"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck">
<property name="severity" value="warning"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck">
<property name="packageAllowed" value="true"/>
<property name="protectedAllowed" value="true"/>
<property name="publicMemberPattern" value="^serialVersionUID"/>
<property name="severity" value="warning"/>
</module>
</module>
</module>