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