Tagir Valeev
7e1064ea3c
[java-intentions] More preview tests; minor fixes
...
GitOrigin-RevId: 22a46c15d8900d8a31514846755a013f6a67ad42
2022-07-29 17:55:13 +00:00
Tagir Valeev
c68df6edc2
ConvertSwitchToIfIntention: preserve comments from expression when only default branch is present
2019-01-10 17:24:20 +07:00
Tagir Valeev
53b426dfae
SwitchStatementWithTooFewBranches: warn on switch expression; provide fix in simple case (single default)
2018-12-07 12:53:08 +07:00
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