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