mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-21 09:00:35 +00:00
instead of using a chain of `if-else`, use switch-case instead, it's visually easier to follow than `if`-`else` blocks. and since we never need to handle the `else` case, the `throw` statement is removed. Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>