1 /*xml 2 <module name="Checker"> 3 <module name="TreeWalker"> 4 <module name="CommentsIndentation"/> 5 </module> 6 </module> 7 */ 8 package com.puppycrawl.tools.checkstyle.checks.indentation.commentsindentation; 9 10 // xdoc section -- start 11 public class Example6 { 12 void testMethod() { 13 // violation 2 lines below 'Comment has incorrect indentation level 4' 14 String breaks = "J" 15 // It is not okay 16 + "A" 17 // it is OK 18 + "V" 19 + "A" 20 // it is OK 21 ; 22 23 } 24 } 25 // xdoc section -- end