Commit Graph

2 Commits

Author SHA1 Message Date
Tagir Valeev
1b4e5c1e39 Merge SwitchStatementWithSingleDefaultInspection into SwitchStatementWithTooFewBranches
Fixes IDEA-199499 Improve "Replace 'switch' with 'if'" action and make it a quick-fix for "Switch has too few branches"
Now default is not counted as branch in SwitchStatementWithTooFewBranches
2018-09-26 17:06:07 +07:00
Tagir Valeev
9530731ea5 IDEA-196805 Warn about switch statement with single 'default' 2018-09-25 14:19:43 +07:00