SwitchStatementWithTooFewBranches: warn on switch expression; provide fix in simple case (single default)

This commit is contained in:
Tagir Valeev
2018-12-07 12:46:07 +07:00
parent b81af4a9d6
commit 53b426dfae
22 changed files with 104 additions and 36 deletions

View File

@@ -1,4 +1,4 @@
// "Unwrap 'switch' statement" "true"
// "Unwrap 'switch'" "true"
class X {
String test(char c) {
s<caret>witch (c) {