Fix multiples errors fileupload_checks.xml config file
<!-- Require package Javadoc -->
<module name="JavadocPackage"/>
+
+ <property name="cacheFile" value="${checkstyle.cache.file}"/>
+
+ <!-- Begin Custom for FileUpload -->
+ <module name="LineLength">
+ <property name="max" value="120"/>
+ <property name="ignorePattern" value="^ \* @version .*$"/>
+ </module>
+
+
+ <module name="TreeWalker">
+
<!-- Allow comments to suppress checks -->
<module name="SuppressionCommentFilter"/>
<property name="influenceFormat" value="$2"/>
</module>
- <module name="TreeWalker">
- <property name="cacheFile" value="${checkstyle.cache.file}"/>
- <!-- Allow comments to suppress checks -->
- <module name="FileContentsHolder"/>
+ <!-- Allow comments to suppress checks
+ <module name="FileContentsHolder"/>-->
<!-- Checks for Javadoc comments. -->
<!-- See http://checkstyle.sf.net/config_javadoc.html -->
<module name="JavadocMethod">
<property name="scope" value="protected"/>
- <property name="allowUndeclaredRTE" value="true"/>
- <property name="allowThrowsTagsForSubclasses" value="true"/>
</module>
<module name="JavadocType"/>
<module name="JavadocVariable"/>
<module name="RedundantImport"/>
<module name="UnusedImports"/>
- <!-- Begin Custom for FileUpload -->
- <module name="LineLength">
- <property name="max" value="120"/>
- <property name="ignorePattern" value="^ \* @version .*$"/>
- </module>
<!-- End Custom for FileUpload -->
<module name="MethodLength"/>
<module name="ParameterNumber"/>
<module name="InnerAssignment"/>
<module name="MagicNumber"/>
<module name="MissingSwitchDefault"/>
- <module name="RedundantThrows">
- <property name="allowSubclasses" value="true"/>
- </module>
<module name="SimplifyBooleanExpression"/>
<module name="SimplifyBooleanReturn"/>
