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