Inspectopedia
 
2024.3

Redundant 'if' statement

Info
Last modified: 03 December 2024

Reports if statements which can be simplified to a single statement.

Example:

After the quick-fix is applied: