...
Also, when a case ends with a return or throw statement, the break statement may be omitted.
Automated Detection
| Tool | Version | Checker | Description |
|---|
| Parasoft Jtest |
| CERT.MSC52.SBC | Do not use a "switch" statement with a bad "case" | ||||||
| SonarQube |
|
|
| S128 |
Bibliography
...
...