Long literal with lowercase letter L

Background

Although it is legal for a long literal in Java to be indicated by a lowercase letter L, it is detrimental to the readibility since it could be mistaken for the digit one.
See also: "Puzzle 4: It's Elementary" in "Java Puzzlers" by Joshua Bloch and Neal Gafter.

Since 0.7

Example

Bad code:

Good code:



long value = 5432l;
long value = 5432L;


Available quick fixes

The quick fix for this code check replaces the lowercase letter L with a capital L