Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
inspection
/
manualMinMaxCalculation
/
beforeSwitchInIf.java
blob: 0000633453823338d0044904cb92326a542bb806 [
file
]
// "Replace with 'Math.min'" "true"
class
Test
{
void
test
(
int
a
,
int
b
,
String
s
)
{
int
c
=
switch
(
s
)
{
case
"foo"
->
{
if
<
caret
>(
b
>
a
)
yield a
;
else
yield b
;
}
};
}
}