Pattern: Unnecessary Long
instantiation
Issue: -
It is unnecessary to instantiate Long
objects. Instead just use the literal with the L
identifier to force the type, such as 8L
or 42L
.
Pattern: Unnecessary Long
instantiation
Issue: -
It is unnecessary to instantiate Long
objects. Instead just use the literal with the L
identifier to force the type, such as 8L
or 42L
.