Pattern: Unnecessary Float
instantiation
Issue: -
It is unnecessary to instantiate Float
objects. Instead just use the float literal with the F
identifier to force the type, such as 123.45F
or 0.42f
.
Pattern: Unnecessary Float
instantiation
Issue: -
It is unnecessary to instantiate Float
objects. Instead just use the float literal with the F
identifier to force the type, such as 123.45F
or 0.42f
.