Issue #1566: TrailingCommentCheck was added to checkstyle_checks.xml. False-positives were added to suppressions

This commit is contained in:
Baratali Izmailov 2015-08-22 05:32:44 -04:00 committed by Roman Ivanov
parent ee797434bc
commit 8d727a31ac
2 changed files with 5 additions and 1 deletions

View File

@ -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"/>

View File

@ -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>