View Javadoc
1   /*xml
2   <module name="Checker">
3     <module name="FileTabCharacter"/>
4   </module>
5   
6   
7   */
8   
9   package com.puppycrawl.tools.checkstyle.checks.whitespace.filetabcharacter;
10  
11  // xdoc section -- start
12  class Example1 {
13  	int a; // violation 'File contains tab characters'
14  
15  	public void foo (int arg) { // OK, only first occurrence in file reported
16      a = arg; // OK, indented using spaces
17    }
18  }
19  // xdoc section -- end