Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
inspection
/
redundantLabeledSwitchRuleCodeBlockFix
/
beforeThrowInStatement.java
blob: cc1a2c6cc60cde673a4987f65caaf2936ab7727d [
file
]
// "Unwrap code block of labeled rule" "LIKE_UNUSED_SYMBOL"
class
C
{
String
foo
(
int
n
)
{
switch
(
n
)
{
case
1
->
/*1*/
<
caret
>{
/*2*/
throw
/*3*/
new
RuntimeException
(
/*4*/
)
/*5*/
;
/*6*/
}
/*7*/
default
->
System
.
out
.
println
();
};
}
}