
Co-authored-by: Amélie Renard <44666826+amelie-renard-sonarsource@users.noreply.github.com>
8 lines
260 B
Plaintext
8 lines
260 B
Plaintext
Having all branches of a `switch` or `if` chain with the same implementation indicates a problem.
|
|
|
|
In the following code:
|
|
|
|
include::{example}[]
|
|
|
|
Either there is a copy-paste error that needs fixing or an unnecessary `switch` or `if` chain that needs removing.
|