01: /*
02: * InputInvalidLabelIndent.java
03: *
04: * Created on February 22, 2003, 12:11 AM
05: */
06:
07: package com.puppycrawl.tools.checkstyle.indentation;
08:
09: /**
10: *
11: * @author jrichard
12: */
13: public class InputInvalidLabelIndent {
14:
15: /** Creates a new instance of InputInvalidLabelIndent */
16: public InputInvalidLabelIndent() {
17: boolean test = true;
18:
19: while (test) {
20: label: System.out.println("label test");
21:
22: if (test) {
23: unusedLabel: System.out.println("more testing");
24: }
25:
26: }
27: label2: System.out.println("toplevel");
28: label3: System.out.println("toplevel");
29: System.out.println("toplevel");
30: label4: System.out.println("toplevel");
31: label5: System.out.println("toplevel");
32: }
33:
34: }
|