|
http://www.jindent.com |
Previous: Indentation
|
Next: Switch-Case
|
| Indent labels |

|
public class Test { public void method() { myLabel: while (a < 10) { ... break myLabel; ... } } } |
|
public class Test { public void method() { myLabel: while (a < 10) { ... break myLabel; ... } } } |
| Labels on new lines |

|
public class Test { public void method() { myLabel: while (a < 10) { ... break myLabel; ... } } } |
|
public class Test { public void method() { myLabel: while (a < 10) { ... break myLabel; ... } } } |
|
See also: | Space before colons of labels , Space after colons of labels |