1 /* 2 CommentsIndentation 3 tokens = (default)SINGLE_LINE_COMMENT, BLOCK_COMMENT_BEGIN 4 5 6 */ 7 8 package com.puppycrawl.tools.checkstyle.checks.indentation.commentsindentation; 9 10 public class InputCommentsIndentationInMultiblockStructuresTwo { 11 void foo() { 12 13 do { 14 assert true; 15 // comment for while 16 } while (false); 17 18 do { 19 assert true; 20 // violation '.* incorrect .* level 8, expected is 12, .* same .* as line 19.' 21 } 22 while (false); 23 24 do { 25 assert true; 26 // violation '.* incorrect .* level 16, expected is 12, 8,.*same.*as line 25, 27.' 27 } while (false); 28 29 do { 30 assert true; 31 // violation '.* incorrect .* level 0, expected is 12, 8, .* same .* as line 30, 32.' 32 } while (false); 33 } 34 }