1 /*xml 2 <module name="Checker"> 3 <property name="tabWidth" value="4" /> 4 <module 5 name="com.puppycrawl.tools.checkstyle.internal.testmodules.VerifyPositionAfterLastTabFileSet" /> 6 </module> 7 */ 8 9 package com.puppycrawl.tools.checkstyle.checker; 10 11 public class InputCheckerTabCharacterCustomWidth { 12 public int foo(int numOne, int numTwo) { 13 14 // ok, has no tabs 15 int sum = numOne + numTwo; 16 17 // has a tab after ';' 18 numOne ++; // violation 'violation' 19 20 // violation 2 lines below 'violation' 21 // has 2 tabs after ';' and after 'comment' 22 numTwo ++; // comment violation 23 24 return sum; 25 } 26 }