Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
inspection
/
switchExpressionMigration
/
afterSwitchWithVarComments2.java
blob: f21a036e21dbf5c4161bd545bbfa3b5d7a08fcdd [
file
]
// "Replace with 'switch' expression" "true"
import
java
.
util
.*;
class
SwitchExpressionMigration
{
private
static
void
m
(
int
i
)
{
// switch (1) {
String
a
=
switch
(
i
)
{
/*between*/
case
0
->
"asd"
;
default
->
"asfdg"
;
};
/*label*/
}
}