Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 392 Bytes

UnnecessaryIntegerInstantiation.md

File metadata and controls

11 lines (6 loc) · 392 Bytes

Pattern: Unnecessary Integer instantiation

Issue: -

Description

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.

Further Reading