Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
inspection
/
switchLabeledRuleCanBeCodeBlockFix
/
afterCallInStatement.java
blob: 9c07afc6064ab6d06cf35758fb4bbff63f2c6b14 [
file
]
// "Wrap labeled rule's statement with code block" "GENERIC_ERROR_OR_WARNING"
class
C
{
String
foo
(
int
n
)
{
String
s
;
switch
(
n
)
{
case
1
->
/*1*/
{
s
=
Integer
.
toString
(
/*2*/
n
);
}
/*3*/
default
->
s
=
"b"
;
};
return
s
;
}
}