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