mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
IDEA-196805 Warn about switch statement with single 'default'
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// "Unwrap 'switch' statement" "true"
|
||||
class X {
|
||||
String test(char c) {
|
||||
s<caret>witch (c) {
|
||||
default:
|
||||
return "foo";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user