1 package com.google.checkstyle.test.chapter4formatting.rule462horizontalwhitespace; 2 3 /** some javadoc. */ 4 public class InputFormattedNoWhitespaceBeforeColonOfLabel { 5 6 { 7 label1: 8 for (int i = 0; i < 10; i++) {} 9 } 10 11 /** some javadoc. */ 12 public void foo() { 13 label2: 14 while (true) {} 15 } 16 }