Menu

#341 new rule: useless cast

open
nobody
None
5
2013-02-16
2011-08-29
No

Check for casts of constant values:

(int) 32
(float) 23.1f

32 as int

23.1d as double

etc

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.