Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
inspection
/
redundantLabeledSwitchRuleCodeBlockFix
/
afterSwitchExpressionInExpression.java
blob: 7033e8b1ae6344053d050ccc460c6181a16b53d7 [
file
]
// "Unwrap code block of labeled rule" "LIKE_UNUSED_SYMBOL"
class
C
{
int
foo
(
final
int
x
,
int
n
)
{
return
switch
(
x
)
{
case
0
->
/*1*/
/*3*/
//4
switch
(
n
)
{
// 2
case
0
->
0
;
default
->
1
;
};
default
->
2
;
};
}
}