checkstyle.xml: updated to be slightly less strict

Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
This commit is contained in:
Paul Campbell 2016-01-25 12:16:57 +00:00
parent 911c0dd3b3
commit 8aa0f2c1c5

View file

@ -82,11 +82,15 @@
<!-- See http://checkstyle.sourceforge.net/config.html --> <!-- See http://checkstyle.sourceforge.net/config.html -->
<module name="SuppressWarningsHolder"/> <module name="SuppressWarningsHolder"/>
<module name="FileContentsHolder"/>
<!-- Checks for Javadoc comments. --> <!-- Checks for Javadoc comments. -->
<!-- See http://checkstyle.sf.net/config_javadoc.html --> <!-- See http://checkstyle.sf.net/config_javadoc.html -->
<module name="JavadocMethod"/> <module name="JavadocMethod">
<property name="scope" value="public"/>
</module>
<module name="JavadocType"/> <module name="JavadocType"/>
<module name="JavadocVariable"/> <!--<module name="JavadocVariable"/>-->
<module name="JavadocStyle"/> <module name="JavadocStyle"/>
@ -113,12 +117,7 @@
<!-- Checks for Size Violations. --> <!-- Checks for Size Violations. -->
<!-- See http://checkstyle.sf.net/config_sizes.html --> <!-- See http://checkstyle.sf.net/config_sizes.html -->
<module name="LineLength"> <module name="LineLength"/>
<!-- Allow for long imports for Spring Batch -->
<!-- EnableBatchProcessing, JobBuilderFactory -->
<!-- and StepBuilderFactory -->
<property name="ignorePattern" value="^import"/>
</module>
<module name="MethodLength"/> <module name="MethodLength"/>
<module name="ParameterNumber"/> <module name="ParameterNumber"/>
@ -157,7 +156,11 @@
<module name="AvoidInlineConditionals"/> <module name="AvoidInlineConditionals"/>
<module name="EmptyStatement"/> <module name="EmptyStatement"/>
<module name="EqualsHashCode"/> <module name="EqualsHashCode"/>
<module name="HiddenField"/> <module name="HiddenField">
<property name="ignoreConstructorParameter" value="true"/>
<property name="ignoreSetter" value="true"/>
<property name="setterCanReturnItsClass" value="true"/>
</module>
<module name="IllegalInstantiation"/> <module name="IllegalInstantiation"/>
<module name="InnerAssignment"/> <module name="InnerAssignment"/>
<module name="MagicNumber"/> <module name="MagicNumber"/>
@ -184,5 +187,6 @@
</module> </module>
<module name="SuppressWarningsFilter"/> <module name="SuppressWarningsFilter"/>
<module name="SuppressionCommentFilter"/>
</module> </module>