checkstyle.xml
changeset 533 f9e19652887e
parent 403 ae8dfe45b0c9
equal deleted inserted replaced
532:58a827799e79 533:f9e19652887e
    69     -->
    69     -->
    70 
    70 
    71     <!-- Miscellaneous other checks.                   -->
    71     <!-- Miscellaneous other checks.                   -->
    72     <!-- See http://checkstyle.sf.net/config_misc.html -->
    72     <!-- See http://checkstyle.sf.net/config_misc.html -->
    73     <module name="RegexpSingleline">
    73     <module name="RegexpSingleline">
       
    74 	<property name="severity" value="error"/>
    74 	<property name="format" value="\s+$"/>
    75 	<property name="format" value="\s+$"/>
    75 	<property name="minimum" value="0"/>
    76 	<property name="minimum" value="0"/>
    76 	<property name="maximum" value="0"/>
    77 	<property name="maximum" value="0"/>
    77 	<property name="message" value="Line has trailing spaces."/>
    78 	<property name="message" value="Line has trailing spaces."/>
    78     </module>
    79     </module>
   137 	<!-- Checks for imports                              -->
   138 	<!-- Checks for imports                              -->
   138 	<!-- See http://checkstyle.sf.net/config_import.html -->
   139 	<!-- See http://checkstyle.sf.net/config_import.html -->
   139 	<module name="AvoidStarImport"/>
   140 	<module name="AvoidStarImport"/>
   140 	<module name="IllegalImport"/> <!-- defaults to sun.* packages -->
   141 	<module name="IllegalImport"/> <!-- defaults to sun.* packages -->
   141 	<module name="RedundantImport"/>
   142 	<module name="RedundantImport"/>
   142 	<module name="UnusedImports"/>
   143 	<module name="UnusedImports">
       
   144 	    <property name="severity" value="error"/>
       
   145 	</module>
   143 	<module name="AvoidStaticImport">
   146 	<module name="AvoidStaticImport">
   144 	    <property name="excludes" value="*"/>
   147 	    <property name="excludes" value="*"/>
   145 	</module>
   148 	</module>
   146 
   149 
   147 
   150 
   247 	<module name="IllegalCatch"/>
   250 	<module name="IllegalCatch"/>
   248 	<module name="IllegalThrows"/>
   251 	<module name="IllegalThrows"/>
   249 	<module name="IllegalType"/>
   252 	<module name="IllegalType"/>
   250 	<module name="PackageDeclaration"/>
   253 	<module name="PackageDeclaration"/>
   251 	<module name="JUnitTestCase"/>
   254 	<module name="JUnitTestCase"/>
   252 	<module name="DeclarationOrder"/>
   255 	<module name="DeclarationOrder">
       
   256 	    <property name="severity" value="error"/>
       
   257 	</module>
   253 	<module name="ExplicitInitialization"/>
   258 	<module name="ExplicitInitialization"/>
   254 	<module name="DefaultComesLast"/>
   259 	<module name="DefaultComesLast"/>
   255 	<module name="MissingCtor"/>
   260 	<module name="MissingCtor"/>
   256 	<module name="FallThrough"/>
   261 	<module name="FallThrough"/>
   257 	<module name="MultipleStringLiterals">
   262 	<module name="MultipleStringLiterals">