Inspectopedia
 
2024.3

Redundant type cast

Warning
New
Last modified: 03 December 2024

Reports unnecessary cast expressions.

Example:

Use the checkbox below to ignore clarifying casts e.g., casts in collection calls where Object is expected: