aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources/com/puppycrawl/tools/checkstyle/filters/suppresswithplaintextcommentfilter/InputSuppressWithPlainTextCommentFilterSuppressById.java
diff options
context:
space:
mode:
authorAurimas Liutikas <aurimas@google.com>2018-01-27 17:00:40 -0800
committerAurimas Liutikas <aurimas@google.com>2018-01-27 17:01:41 -0800
commit0d3be72607b72301b708dca56e3afc3299fd2126 (patch)
treee58fd83708211220003af021e3345f001413cc48 /src/test/resources/com/puppycrawl/tools/checkstyle/filters/suppresswithplaintextcommentfilter/InputSuppressWithPlainTextCommentFilterSuppressById.java
parentb4aec831a096b89efed151c9b2c5754d9491e6ea (diff)
parent5f62e6406680bb91ef505b9a1932e398bf42532d (diff)
downloadcheckstyle-0d3be72607b72301b708dca56e3afc3299fd2126.tar.gz
Merge Checkstyle 8.7 into aosp/masterHEADmastermain
Merged commit 5f62e6406680bb91ef505b9a1932e398bf42532d Test: None
Diffstat (limited to 'src/test/resources/com/puppycrawl/tools/checkstyle/filters/suppresswithplaintextcommentfilter/InputSuppressWithPlainTextCommentFilterSuppressById.java')
-rw-r--r--src/test/resources/com/puppycrawl/tools/checkstyle/filters/suppresswithplaintextcommentfilter/InputSuppressWithPlainTextCommentFilterSuppressById.java16
1 files changed, 16 insertions, 0 deletions
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;
+
+}