HADOOP-13411. Checkstyle suppression by annotation or comment. Contributed by John Zhuge.
This commit is contained in:
parent
b09a03cd7d
commit
0e68e14d55
@ -49,6 +49,10 @@
|
|||||||
|
|
||||||
<module name="Checker">
|
<module name="Checker">
|
||||||
|
|
||||||
|
<module name="SuppressWarningsFilter"/>
|
||||||
|
<module name="SuppressionCommentFilter"/>
|
||||||
|
<module name="SuppressWithNearbyCommentFilter"/>
|
||||||
|
|
||||||
<!-- Checks that a package.html file exists for each package. -->
|
<!-- Checks that a package.html file exists for each package. -->
|
||||||
<!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml -->
|
<!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml -->
|
||||||
<module name="JavadocPackage"/>
|
<module name="JavadocPackage"/>
|
||||||
@ -67,6 +71,10 @@
|
|||||||
|
|
||||||
<module name="TreeWalker">
|
<module name="TreeWalker">
|
||||||
|
|
||||||
|
<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="JavadocType">
|
<module name="JavadocType">
|
||||||
@ -180,7 +188,7 @@
|
|||||||
<module name="Indentation">
|
<module name="Indentation">
|
||||||
<property name="basicOffset" value="2" />
|
<property name="basicOffset" value="2" />
|
||||||
<property name="caseIndent" value="0" />
|
<property name="caseIndent" value="0" />
|
||||||
</module>
|
</module>
|
||||||
<!--<module name="TodoComment"/>-->
|
<!--<module name="TodoComment"/>-->
|
||||||
<module name="UpperEll"/>
|
<module name="UpperEll"/>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user