Inspectopedia
 
2024.3

'switch' with single 'case'

Info
New
Last modified: 03 December 2024

Reports the switch statements that only contain a single case statement. Such switch statements can be converted into if statements.