Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
inspection
/
duplicateBranchesInSwitchFix
/
afterFallThroughToBreak.java
blob: 002cb2d35821a98dd522c5be7f94414056562716 [
file
]
// "Merge with 'case 1'" "GENERIC_ERROR_OR_WARNING"
class
C
{
void
foo
(
int
n
)
{
switch
(
n
)
{
case
1
:
case
3
:
bar
(
"A"
);
case
2
:
break
;
case
4
:
bar
(
"A"
);
case
5
:
}
}
void
bar
(
String
s
){}
}