Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
inspection
/
duplicateBranchesInEnhancedSwitchFix
/
afterCaseLabelsExpressionDefaultLastDelete.java
blob: e1531a32911c0efbdb0908de461ff53f1b28949a [
file
]
// "Delete redundant 'switch' branch" "GENERIC_ERROR_OR_WARNING"
class
C
{
void
test
(
int
n
)
{
String
s
=
switch
(
n
)
{
case
2
:
break
"b"
;
case
3
:
default
:
break
"a"
;
};
}
}