1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-08-13 16:53:51 -04:00

Adjust checkStyle settings

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@733 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-09-21 12:12:57 +00:00
parent 8a40476649
commit e405d4a31f

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!DOCTYPE module PUBLIC <!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.1//EN" "-//Puppy Crawl//DTD Check Configuration 1.1//EN"
"http://www.puppycrawl.com/dtds/configuration_1_1.dtd"> "http://www.puppycrawl.com/dtds/configuration_1_1.dtd">
<!-- <!--
@ -74,16 +74,16 @@
<!-- Checks for Headers --> <!-- Checks for Headers -->
<!-- See http://checkstyle.sf.net/config_header.html --> <!-- See http://checkstyle.sf.net/config_header.html -->
<!--module name="Header"--> <!--module name="Header"-->
<!-- The follow property value demonstrates the ability --> <!-- The follow property value demonstrates the ability -->
<!-- to have access to ANT properties. In this case it uses --> <!-- to have access to ANT properties. In this case it uses -->
<!-- the ${basedir} property to allow Checkstyle to be run --> <!-- the ${basedir} property to allow Checkstyle to be run -->
<!-- from any directory within a project. See property --> <!-- from any directory within a project. See property -->
<!-- expansion, --> <!-- expansion, -->
<!-- http://checkstyle.sf.net/config.html#properties --> <!-- http://checkstyle.sf.net/config.html#properties -->
<!-- <property --> <!-- <property -->
<!-- name="headerFile" --> <!-- name="headerFile" -->
<!-- value="${basedir}/java.header"/> --> <!-- value="${basedir}/java.header"/> -->
<!--property name="headerFile" value="${checkstyle.header.file}"/> <!--property name="headerFile" value="${checkstyle.header.file}"/>
</module--> </module-->
<!-- Following interprets the header file as regular expressions. --> <!-- Following interprets the header file as regular expressions. -->
@ -93,7 +93,8 @@
<!-- Checks for imports --> <!-- Checks for imports -->
<!-- See http://checkstyle.sf.net/config_import.html --> <!-- See http://checkstyle.sf.net/config_import.html -->
<!--module name="AvoidStarImport"/--> <!--module name="AvoidStarImport"/-->
<module name="IllegalImport"/> <!-- defaults to sun.* packages --> <module name="IllegalImport"/>
<!-- defaults to sun.* packages -->
<module name="RedundantImport"/> <module name="RedundantImport"/>
<module name="UnusedImports"/> <module name="UnusedImports"/>
@ -136,14 +137,15 @@
<!-- Checks for common coding problems --> <!-- Checks for common coding problems -->
<!-- See http://checkstyle.sf.net/config_coding.html --> <!-- See http://checkstyle.sf.net/config_coding.html -->
<module name="AvoidInlineConditionals"/> <!--module name="AvoidInlineConditionals"/-->
<module name="DoubleCheckedLocking"/> <!-- MY FAVOURITE --> <module name="DoubleCheckedLocking"/>
<!-- MY FAVOURITE -->
<module name="EmptyStatement"/> <module name="EmptyStatement"/>
<module name="EqualsHashCode"/> <module name="EqualsHashCode"/>
<!-- <module name="HiddenField"/> --> <!-- <module name="HiddenField"/> -->
<module name="IllegalInstantiation"/> <module name="IllegalInstantiation"/>
<module name="InnerAssignment"/> <module name="InnerAssignment"/>
<module name="MagicNumber"/> <!--module name="MagicNumber"/-->
<module name="MissingSwitchDefault"/> <module name="MissingSwitchDefault"/>
<module name="RedundantThrows"/> <module name="RedundantThrows"/>
<module name="SimplifyBooleanExpression"/> <module name="SimplifyBooleanExpression"/>
@ -155,7 +157,10 @@
<module name="FinalClass"/> <module name="FinalClass"/>
<module name="HideUtilityClassConstructor"/> <module name="HideUtilityClassConstructor"/>
<module name="InterfaceIsType"/> <module name="InterfaceIsType"/>
<module name="VisibilityModifier"/> <module name="VisibilityModifier">
<property name="packageAllowed" value="true"/>
<property name="protectedAllowed" value="true"/>
</module>
<!-- Miscellaneous other checks. --> <!-- Miscellaneous other checks. -->