com.puppycrawl.tools.checkstyle.checks.coding
public class AvoidInlineConditionalsCheck extends Check
String a = getParameter("a");
String b = (a==null || a.length<1) ? null : a.substring(1);
Rationale: Some developers find inline conditionals hard to read,
so their company's coding standards forbids them.
Version: $Revision: 1.5 $
| Method Summary | |
|---|---|
| int[] | getDefaultTokens() |
| int[] | getRequiredTokens() |
| void | visitToken(DetailAST aAST) |