View Javadoc
1   /*
2   SuppressWithPlainTextCommentFilter
3   offCommentFormat = // CHECKSTYLE:OFF
4   onCommentFormat = // CHECKSTYLE:ON
5   checkFormat = (default).*
6   messageFormat = .*tab.*
7   idFormat = (default)(null)
8   
9   
10  com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck
11  id = ignore
12  format = .*[a-zA-Z][0-9].*
13  message = (default)
14  ignoreCase = (default)false
15  minimum = (default)0
16  maximum = (default)0
17  fileExtensions = (default)all files
18  
19  
20  com.puppycrawl.tools.checkstyle.checks.whitespace.FileTabCharacterCheck
21  eachLine = true
22  fileExtensions = (default)
23  
24  
25  */
26  
27  package com.puppycrawl.tools.checkstyle.filters.suppresswithplaintextcommentfilter;
28  
29  public class InputSuppressWithPlainTextCommentFilterCustomMessageFormat {
30  
31      // CHECKSTYLE:OFF
32      private int A1; // violation 'illegal pattern'
33  
34  	private static final int a1 = 5; // filtered violation 'contains a tab'
35      // violation above 'illegal pattern'
36      int a2 = 100; // violation 'illegal pattern'
37  
38      // CHECKSTYLE:ON
39      private long a3 = 1; // violation 'illegal pattern'
40  
41  }