1 /*xml 2 <module name="Checker"> 3 <module name="TreeWalker"> 4 <module name="WhitespaceAround"> 5 <property name="allowEmptyTypes" value="true"/> 6 </module> 7 </module> 8 </module> 9 10 11 */ 12 13 package com.puppycrawl.tools.checkstyle.checks.whitespace.whitespacearound; 14 15 // xdoc section -- start 16 class Example6 { 17 class Test {} 18 interface testInterface{} 19 class anotherTest { 20 int a=4; // 2 violations 21 // no space before and after '=' 22 } 23 } 24 // xdoc section -- end