Skip to content

Use switch statement instead of long if-else

Jacob Vosmaer requested to merge jv-upload-switch into master

This is a small readability improvement to some code I had to stare at recently.

Instead of having a long chain of else if statements I think it is better to use switch. This change also breaks some long lines.

Merge request reports