From 4ff16354a51829216a0a8d05e95858121c367c2f Mon Sep 17 00:00:00 2001 From: Andrei Selkin Date: Thu, 28 Dec 2017 13:52:19 +0300 Subject: Issue #4841: Add SuppressWithPlainTextCommentFilter --- ...utSuppressWithPlainTextCommentFilterSuppressById.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/test/resources/com/puppycrawl/tools/checkstyle/filters/suppresswithplaintextcommentfilter/InputSuppressWithPlainTextCommentFilterSuppressById.java (limited to 'src/test/resources/com/puppycrawl/tools/checkstyle/filters/suppresswithplaintextcommentfilter/InputSuppressWithPlainTextCommentFilterSuppressById.java') diff --git a/src/test/resources/com/puppycrawl/tools/checkstyle/filters/suppresswithplaintextcommentfilter/InputSuppressWithPlainTextCommentFilterSuppressById.java b/src/test/resources/com/puppycrawl/tools/checkstyle/filters/suppresswithplaintextcommentfilter/InputSuppressWithPlainTextCommentFilterSuppressById.java new file mode 100644 index 000000000..f18d95ee8 --- /dev/null +++ b/src/test/resources/com/puppycrawl/tools/checkstyle/filters/suppresswithplaintextcommentfilter/InputSuppressWithPlainTextCommentFilterSuppressById.java @@ -0,0 +1,16 @@ +package com.puppycrawl.tools.checkstyle.filters.suppresswithplaintextcommentfilter; + +public class InputSuppressWithPlainTextCommentFilterSuppressById { + + //CSOFF ignore (reason) + private int A1; + + // @cs-: ignore (reason) + private static final int a1 = 5; // contains tab character + + int a2 = 100; + //CSON ignore + + private long a3 = 1; + +} -- cgit v1.2.3