mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 02:09:59 +07:00
SwitchStatementWithTooFewBranches: warn on switch expression; provide fix in simple case (single default)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// "Unwrap 'switch'" "true"
|
||||
class X {
|
||||
String test(int i) {
|
||||
return "foo";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user