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