Indentation

suggest change
switch (var) {
    case TWO:
        setChoice("two");
        break;
    case THREE:
        setChoice("three");
        break;
    default:
        throw new IllegalArgumentException();
}

Refer to http://stackoverflow.com/documentation/java/2697/coding-standards/13447/wrapping-statements for guidelines on how to indent continuation lines.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents