tools/checkstyle.xml
author Da Risk <darisk972@gmail.com>
Mon, 21 Mar 2011 22:07:46 +0100
changeset 899 e81a14d9d569
parent 817 cf19bfc27ce9
child 901 d33586e4ed1a
permissions -rw-r--r--
Checkstyle again :(
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
817
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
     1
<?xml version="1.0"?>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
     2
<!DOCTYPE module PUBLIC
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
     3
    "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
     4
    "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
693
14d5280485dc * Checkstyle file is back from stars
Jean-Manuel Da Silva <dasilvj at gmail dot com>
parents:
diff changeset
     5
14d5280485dc * Checkstyle file is back from stars
Jean-Manuel Da Silva <dasilvj at gmail dot com>
parents:
diff changeset
     6
<!--
817
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
     7
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
     8
  Checkstyle configuration that checks the sun coding conventions from:
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
     9
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    10
  - the Java Language Specification at
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    11
  http://java.sun.com/docs/books/jls/second_edition/html/index.html
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    12
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    13
  - the Sun Code Conventions at http://java.sun.com/docs/codeconv/
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    14
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    15
  - the Javadoc guidelines at
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    16
  http://java.sun.com/j2se/javadoc/writingdoccomments/index.html
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    17
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    18
  - the JDK Api documentation http://java.sun.com/j2se/docs/api/index.html
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    19
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    20
  - some best practices
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    21
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    22
  Checkstyle is very configurable. Be sure to read the documentation at
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    23
  http://checkstyle.sf.net (or in your downloaded distribution).
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    24
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    25
  Most Checks are configurable, be sure to consult the documentation.
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    26
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    27
  To completely disable a check, just comment it out or delete it from the file.
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    28
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    29
  Finally, it is worth reading the documentation.
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    30
693
14d5280485dc * Checkstyle file is back from stars
Jean-Manuel Da Silva <dasilvj at gmail dot com>
parents:
diff changeset
    31
-->
817
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    32
693
14d5280485dc * Checkstyle file is back from stars
Jean-Manuel Da Silva <dasilvj at gmail dot com>
parents:
diff changeset
    33
<module name="Checker">
817
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    34
  <!--
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    35
        If you set the basedir property below, then all reported file
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    36
        names will be relative to the specified directory. See
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    37
        http://checkstyle.sourceforge.net/5.x/config.html#Checker
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    38
-->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    39
    <property name="basedir" value="/home/beem/" default="."/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    40
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    41
    <property name="severity" value="warning"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    42
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    43
    <!-- Checks that a package-info.java file exists for each package.     -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    44
    <!-- See http://checkstyle.sf.net/config_javadoc.html#JavadocPackage -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    45
    <module name="JavadocPackage">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    46
	<property name="allowLegacy" value="true"/>
693
14d5280485dc * Checkstyle file is back from stars
Jean-Manuel Da Silva <dasilvj at gmail dot com>
parents:
diff changeset
    47
    </module>
817
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    48
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    49
    <!-- Checks whether files end with a new line.                        -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    50
    <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    51
    <module name="NewlineAtEndOfFile">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    52
	<property name="severity" value="error"/>
693
14d5280485dc * Checkstyle file is back from stars
Jean-Manuel Da Silva <dasilvj at gmail dot com>
parents:
diff changeset
    53
    </module>
817
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    54
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    55
    <!-- Checks that property files contain the same keys.         -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    56
    <!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    57
    <module name="Translation">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    58
	<property name="severity" value="error"/>
693
14d5280485dc * Checkstyle file is back from stars
Jean-Manuel Da Silva <dasilvj at gmail dot com>
parents:
diff changeset
    59
    </module>
817
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    60
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    61
    <!-- Checks for Size Violations.                    -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    62
    <!-- See http://checkstyle.sf.net/config_sizes.html -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    63
    <module name="FileLength"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    64
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    65
    <!-- Checks for whitespace                               -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    66
    <!-- See http://checkstyle.sf.net/config_whitespace.html -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    67
    <!-- we want tab
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    68
    <module name="FileTabCharacter"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    69
    -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    70
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    71
    <!-- Miscellaneous other checks.                   -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    72
    <!-- See http://checkstyle.sf.net/config_misc.html -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    73
    <module name="RegexpSingleline">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    74
	<property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    75
	<property name="format" value="\s+$"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    76
	<property name="minimum" value="0"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    77
	<property name="maximum" value="0"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    78
	<property name="message" value="Line has trailing spaces."/>
693
14d5280485dc * Checkstyle file is back from stars
Jean-Manuel Da Silva <dasilvj at gmail dot com>
parents:
diff changeset
    79
    </module>
817
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    80
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    81
    <!-- This rules is desactivated because it is too stupid.
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    82
	It also compare the Header of the file.
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    83
    <module name="StrictDuplicateCode">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    84
	<property name="min" value="25" />
693
14d5280485dc * Checkstyle file is back from stars
Jean-Manuel Da Silva <dasilvj at gmail dot com>
parents:
diff changeset
    85
    </module>
817
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    86
    -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    87
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    88
    <!-- Header file -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    89
    <module name="RegexpHeader">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    90
	<property name="headerFile" value="${basedir}/tools/JavaHeaderCheck.regex"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    91
	<property name="multiLines" value="5, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    92
	<property name="severity" value="error" />
693
14d5280485dc * Checkstyle file is back from stars
Jean-Manuel Da Silva <dasilvj at gmail dot com>
parents:
diff changeset
    93
    </module>
817
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    94
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    95
    <module name="TreeWalker">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    96
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    97
	<!-- Checks for Javadoc comments.                     -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    98
	<!-- See http://checkstyle.sf.net/config_javadoc.html -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
    99
	<module name="JavadocMethod">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   100
	    <property name="allowUndeclaredRTE" value="true"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   101
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   102
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   103
	<module name="JavadocType">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   104
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   105
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   106
	<module name="JavadocVariable">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   107
	    <property name="scope" value="package" />
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   108
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   109
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   110
	<module name="JavadocStyle">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   111
	    <property name="checkEmptyJavadoc" value="true"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   112
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   113
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   114
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   115
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   116
	<!-- Checks for Naming Conventions.                  -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   117
	<!-- See http://checkstyle.sf.net/config_naming.html -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   118
	<module name="ConstantName"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   119
	<module name="LocalFinalVariableName"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   120
	<module name="LocalVariableName"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   121
	<module name="MemberName">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   122
	    <property  name="format" value="^m[A-Z][a-zA-Z0-9]*$"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   123
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   124
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   125
	<module name="MethodName"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   126
	<module name="PackageName"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   127
	<module name="ParameterName"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   128
	<module name="StaticVariableName"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   129
	<module name="TypeName"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   130
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   131
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   132
	<!-- Checks for Headers                                -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   133
	<!-- See http://checkstyle.sf.net/config_header.html   -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   134
	<!-- <module name="Header">                            -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   135
	<!-- The follow property value demonstrates the ability     -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   136
	<!-- to have access to ANT properties. In this case it uses -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   137
	<!-- the ${basedir} property to allow Checkstyle to be run  -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   138
	<!-- from any directory within a project. See property      -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   139
	<!-- expansion,                                             -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   140
	<!-- http://checkstyle.sf.net/config.html#properties        -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   141
	<!-- <property                                              -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   142
	<!--     name="headerFile"                                  -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   143
	<!--     value="${basedir}/java.header"/>                   -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   144
	<!-- </module> -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   145
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   146
	<!-- Checks for imports                              -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   147
	<!-- See http://checkstyle.sf.net/config_import.html -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   148
	<module name="AvoidStarImport"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   149
	<module name="IllegalImport"/> <!-- defaults to sun.* packages -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   150
	<module name="RedundantImport"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   151
	<module name="UnusedImports">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   152
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   153
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   154
	<module name="AvoidStaticImport">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   155
	    <property name="excludes" value="*"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   156
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   157
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   158
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   159
	<!-- Checks for Size Violations.                    -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   160
	<!-- See http://checkstyle.sf.net/config_sizes.html -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   161
	<module name="LineLength">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   162
	    <property name="max" value="120" />
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   163
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   164
	<module name="MethodLength"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   165
	<module name="ParameterNumber"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   166
	<module name="AnonInnerLength">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   167
	    <property name="max" value="60" />
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   168
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   169
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   170
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   171
	<!-- Checks for whitespace                               -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   172
	<!-- See http://checkstyle.sf.net/config_whitespace.html -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   173
	<module name="EmptyForIteratorPad"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   174
	<module name="GenericWhitespace">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   175
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   176
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   177
	<module name="MethodParamPad">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   178
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   179
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   180
	<module name="NoWhitespaceAfter">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   181
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   182
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   183
	<module name="NoWhitespaceBefore">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   184
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   185
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   186
	<module name="OperatorWrap"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   187
	<module name="ParenPad">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   188
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   189
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   190
	<module name="TypecastParenPad">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   191
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   192
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   193
	<!-- We want mixed tabulation
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   194
	  <module name="TabCharacter"/> 
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   195
	  -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   196
	<module name="WhitespaceAfter">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   197
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   198
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   199
	<module name="WhitespaceAround">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   200
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   201
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   202
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   203
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   204
	<!-- Modifier Checks                                    -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   205
	<!-- See http://checkstyle.sf.net/config_modifiers.html -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   206
	<module name="ModifierOrder">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   207
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   208
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   209
	<module name="RedundantModifier">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   210
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   211
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   212
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   213
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   214
	<!-- Checks for blocks. You know, those {}'s         -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   215
	<!-- See http://checkstyle.sf.net/config_blocks.html -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   216
	<module name="AvoidNestedBlocks"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   217
	<module name="EmptyBlock"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   218
	<module name="LeftCurly">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   219
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   220
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   221
	<module name="RightCurly">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   222
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   223
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   224
	<!--
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   225
	  <module name="NeedBraces"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   226
	  -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   227
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   228
	<!-- Check for annotations 
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   229
	http://checkstyle.sourceforge.net/config_annotation.html#MissingDeprecated
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   230
	-->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   231
	<module name="AnnotationUseStyle">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   232
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   233
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   234
	<module name="MissingDeprecated">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   235
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   236
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   237
	<module name="MissingOverride">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   238
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   239
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   240
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   241
	<!-- Checks for common coding problems               -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   242
	<!-- See http://checkstyle.sf.net/config_coding.html -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   243
	<module name="CovariantEquals"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   244
	<module name="AvoidInlineConditionals"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   245
	<module name="InnerAssignment" />
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   246
	<module name="DoubleCheckedLocking"/>    <!-- MY FAVOURITE -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   247
	<module name="EmptyStatement"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   248
	<module name="EqualsHashCode">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   249
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   250
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   251
	<module name="HiddenField">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   252
	    <property name="ignoreConstructorParameter" value="true"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   253
	    <property name="ignoreAbstractMethods" value="true"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   254
	    <property name="ignoreSetter" value="true"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   255
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   256
	<module name="IllegalInstantiation"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   257
	<module name="InnerAssignment">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   258
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   259
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   260
	<module name="MagicNumber"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   261
	<module name="MissingSwitchDefault">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   262
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   263
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   264
	<module name="RedundantThrows"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   265
	<module name="SimplifyBooleanExpression">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   266
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   267
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   268
	<module name="SimplifyBooleanReturn">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   269
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   270
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   271
	<module name="StringLiteralEquality">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   272
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   273
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   274
	<module name="IllegalCatch"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   275
	<module name="IllegalThrows"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   276
	<module name="IllegalType"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   277
	<module name="PackageDeclaration"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   278
	<module name="JUnitTestCase"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   279
	<module name="DeclarationOrder">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   280
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   281
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   282
	<module name="ExplicitInitialization"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   283
	<module name="DefaultComesLast"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   284
	<module name="MissingCtor"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   285
	<module name="FallThrough"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   286
	<module name="MultipleStringLiterals">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   287
	    <property name="allowedDuplicates" value="2"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   288
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   289
	<module name="MultipleVariableDeclarations"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   290
	<module name="UnnecessaryParentheses"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   291
	<module name="ParameterAssignment"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   292
	<module name="EqualsAvoidNull">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   293
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   294
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   295
	<module name="NoClone"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   296
	<module name="NoFinalizer"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   297
	<module name="SuperClone"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   298
	<module name="SuperFinalize"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   299
	<module name="ModifiedControlVariable">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   300
	    <property name="severity" value="error"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   301
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   302
	<module name="ReturnCount">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   303
	    <property name="max" value="3"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   304
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   305
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   306
	<!-- Checks for class design                         -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   307
	<!-- See http://checkstyle.sf.net/config_design.html -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   308
	<!-- 
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   309
	  <module name="DesignForExtension"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   310
	  -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   311
	<module name="FinalClass"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   312
	<module name="HideUtilityClassConstructor"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   313
	<!-- 
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   314
	<module name="InterfaceIsType"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   315
	-->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   316
	<module name="VisibilityModifier"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   317
	<module name="MutableException"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   318
	<module name="ThrowsCount">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   319
	    <property name="max" value="2" />
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   320
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   321
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   322
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   323
	<!-- Miscellaneous other checks.                   -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   324
	<!-- See http://checkstyle.sf.net/config_misc.html -->
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   325
	<module name="ArrayTypeStyle"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   326
	<module name="FinalParameters">
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   327
	    <property name="tokens" value="CTOR_DEF"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   328
	</module>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   329
	<module name="Indentation"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   330
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   331
	<module name="TodoComment"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   332
	<module name="UpperEll"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   333
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   334
	<module name="BooleanExpressionComplexity"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   335
	<module name="UpperEll"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   336
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   337
	<module name="ArrayTypeStyle"/>
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   338
693
14d5280485dc * Checkstyle file is back from stars
Jean-Manuel Da Silva <dasilvj at gmail dot com>
parents:
diff changeset
   339
    </module>
817
cf19bfc27ce9 revert tools/checstyle.xml from r677 which is more readable.
Da Risk <darisk972@gmail.com>
parents: 708
diff changeset
   340
693
14d5280485dc * Checkstyle file is back from stars
Jean-Manuel Da Silva <dasilvj at gmail dot com>
parents:
diff changeset
   341
</module>