|
http://www.jindent.com |
Previous: Method Calls
|
Next: Annotations
|
| Wrap after for-each colon : |

always:
|
public class ClassA { | public void method() { | for (MyVariable variableName : | getCollectionFromSomewhere(a, b, c, d, e, f)) { | // ... | } | } | } | |
never:
|
public class ClassA { | public void method() { | for (MyVariable variableName : getCollectionFromSomewhere(a, b, c, d, e, f)) { | // ... | } | } | } | |
on demand:
|
public class ClassA { | public void method() { | for (MyVariable variableName : | getCollectionFromSomewhere(a, b, c, d, e, f)) { | // ... | } | } | } | |
if line exceeds:
|
public class ClassA { | public void method() { | for (MyVariable variableName : | getCollectionFromSomewhere(a, b, c, d, e, | f)) { | // ... | } | } | } | |