Issue #1566: TrailingCommentCheck was added to checkstyle_checks.xml. False-positives were added to suppressions
This commit is contained in:
parent
ee797434bc
commit
8d727a31ac
|
|
@ -318,6 +318,7 @@
|
|||
<module name="ModifiedControlVariable"/>
|
||||
<module name="AvoidInlineConditionals"/>
|
||||
<module name="IllegalType"/>
|
||||
<module name="TrailingComment"/>
|
||||
|
||||
<!--
|
||||
<module name="ClassDataAbstractionCoupling"/>
|
||||
|
|
@ -334,7 +335,6 @@
|
|||
<module name="OneTopLevelClass"/>
|
||||
<module name="OverloadMethodsDeclarationOrder"/>
|
||||
<module name="PackageDeclaration"/>
|
||||
<module name="TrailingComment"/>
|
||||
<module name="RequireThis"/>
|
||||
<module name="ReturnCount"/>
|
||||
<module name="SingleLineJavadoc"/>
|
||||
|
|
|
|||
|
|
@ -63,4 +63,8 @@
|
|||
|
||||
<!-- Should be solved after fixing https://github.com/checkstyle/checkstyle/issues/1805 -->
|
||||
<suppress checks="IllegalType" files=".*[\\/]src[\\/]test[\\/]|(AbstractTypeAwareCheck|TryHandler|SlistHandler|PrimordialHandler|MethodCallHandler|MemberDefHandler|IndentationCheck|IfHandler|HandlerFactory|CaseHandler|BlockParentHandler|AbstractExpressionHandler|JavadocMethodCheck|DetectorOptions)\.java"/>
|
||||
|
||||
<!-- Till https://github.com/checkstyle/checkstyle/issues/1854 -->
|
||||
<suppress checks="TrailingComment" files="(InnerAssignmentCheck\.java|OperatorWrapCheck\.java|XMLLoggerTest\.java|AbbreviationAsWordInNameCheckTest\.java)"/>
|
||||
|
||||
</suppressions>
|
||||
|
|
|
|||
Loading…
Reference in New Issue