How about using a `switch` statement here? The statements are short, you could even apply the no-brace codestyle rule here.