com.puppycrawl.tools.checkstyle.checks
public class UpperEllCheck extends Check
Checks that long constants are defined with an upper ell. That is 'L' and not 'l'. This is in accordance to the Java Language Specification, Section 3.10.1.
Rationale: The letter l looks a lot like the number 1.
To configure the check:
<module name="UpperEll"/>
Version: 1.0
Method Summary | |
---|---|
int[] | getDefaultTokens() {@inheritDoc} |
void | visitToken(DetailAST aAST) {@inheritDoc} |