Class UpperEllCheck

  • All Implemented Interfaces:
    Configurable, Contextualizable

    public class UpperEllCheck
    extends AbstractCheck

    Checks that long constants are defined with an upper ell. That is 'L' and not 'l'. This is in accordance with the Java Language Specification, Section 3.10.1.

    Rationale: The lower-case ell 'l' looks a lot like 1.

    Parent is com.puppycrawl.tools.checkstyle.TreeWalker

    Violation Message Keys:

    • upperEll
    Since:
    3.0