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