Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
inspection
/
duplicateBranchesInSwitchFix
/
afterThrow.java
blob: 5010a082f8a169ecc162a8067b27141bd5ffbe83 [
file
]
// "Merge with 'case 1'" "GENERIC_ERROR_OR_WARNING"
class
C
{
String
foo
(
int
n
)
{
switch
(
n
)
{
case
1
:
case
3
:
throw
new
IllegalArgumentException
(
"A"
);
case
2
:
throw
new
IllegalStateException
(
"A"
);
}
return
""
;
}
}