Replace switch statements with resource ids with if-then-else

Merge request reports

Loading