Review

Potential Misuse

Anomaly identified by the detector. Please review whether this anomaly corresponds to a misuse.

Metadata

Hit Rank Desc Type Violation Types
Yes

14

Bx: sos.mrtd.PassportFileService.readFile(short) invokes inefficient new Short(short) constructor; use Short.valueOf(short) instead

DM_NUMBER_CTOR