Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
codeInsight
/
invertIfCondition
/
beforeNestedIf6.java
blob: 318313328f102f92c1d6a9dc41b9c5f1b77c2da2 [
file
]
// "Invert 'if' condition" "true"
class
Main
{
void
foo
(
boolean
a1
,
boolean
b1
){
if
(
a1
)
if
(
b
<
caret
>
1
)
{
}
else
{
System
.
out
.
println
(
"1"
);
}
else
{
System
.
out
.
println
(
"2"
);
}
}
}